From 923a7c78137b1198cbe99df9068af6ead7dba6e3 Mon Sep 17 00:00:00 2001 From: Nick Iliev Date: Tue, 4 Jul 2017 10:41:41 +0300 Subject: [PATCH] updated instructions for tns-platform-declarations (#4496) * updated instructions for tns-platform-declarations * fixed TypeScrtip recommended version --- tns-platform-declarations/README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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: ``` -/// - /// /// ```