diff --git a/tns-platform-declarations/README.md b/tns-platform-declarations/README.md index 914b5f0b4..e987b2ac8 100644 --- a/tns-platform-declarations/README.md +++ b/tns-platform-declarations/README.md @@ -5,8 +5,7 @@ Offically supported entry points: - `ios.d.ts` - For iOS SDK and runtime types. Using the declarations may conflict with DOM typings, -consider using TypeScript 2.0.3 or newer, -and the following settings in your `tsconfig.json`: +consider using TypeScript 2.x.x and the following settings in your `tsconfig.json`: ``` { "compilerOptions": { @@ -14,16 +13,15 @@ and the following settings in your `tsconfig.json`: "target": "es5", "experimentalDecorators": true, "lib": [ - "es2016" + "es6", + "dom" ] } } ``` -And modify the content of `reference.d.ts` as follows: +Create `reference.d.ts`and add the following content: ``` -/// - /// /// ```