From 7cb56a857a5abed2bcf7ab90e96a8197f5595d82 Mon Sep 17 00:00:00 2001 From: Rossen Hristov Date: Tue, 12 Jul 2016 10:58:23 +0300 Subject: [PATCH] Fix apps and tests TypeScript projects --- apps/references.d.ts | 6 +++++- apps/tsconfig.json | 14 ++++++++------ tests/package.json | 5 +++-- tests/references.d.ts | 6 +++++- tests/tsconfig.json | 14 ++++++++------ 5 files changed, 29 insertions(+), 16 deletions(-) diff --git a/apps/references.d.ts b/apps/references.d.ts index f803d2bdc..48830c121 100644 --- a/apps/references.d.ts +++ b/apps/references.d.ts @@ -1 +1,5 @@ -/// Needed for autocompletion and compilation. \ No newline at end of file +/// Needed for autocompletion and compilation. +/// Needed for autocompletion and compilation. +/// Needed for autocompletion and compilation. +/// Needed for autocompletion and compilation. +/// Needed for autocompletion and compilation. \ No newline at end of file diff --git a/apps/tsconfig.json b/apps/tsconfig.json index 0ec588987..d6e427e0e 100644 --- a/apps/tsconfig.json +++ b/apps/tsconfig.json @@ -1,12 +1,14 @@ { "compilerOptions": { - "module": "commonjs", - "target": "es5", - "sourceMap": true, - "experimentalDecorators": true, - "emitDecoratorMetadata": true, + "noEmitOnError": true, "noEmitHelpers": true, - "noEmitOnError": true + "target": "es5", + "module": "commonjs", + "declaration": false, + "noImplicitAny": true, + "noImplicitUseStrict": true, + "experimentalDecorators": true, + "diagnostics": true }, "exclude": [ "node_modules", diff --git a/tests/package.json b/tests/package.json index 7f48effc3..17ce53ae6 100644 --- a/tests/package.json +++ b/tests/package.json @@ -20,6 +20,7 @@ "babel-types": "6.9.0", "babylon": "6.8.0", "filewalker": "0.1.2", - "lazy": "1.0.11" + "lazy": "1.0.11", + "typescript": "^1.8.10" } -} \ No newline at end of file +} diff --git a/tests/references.d.ts b/tests/references.d.ts index f803d2bdc..48830c121 100644 --- a/tests/references.d.ts +++ b/tests/references.d.ts @@ -1 +1,5 @@ -/// Needed for autocompletion and compilation. \ No newline at end of file +/// Needed for autocompletion and compilation. +/// Needed for autocompletion and compilation. +/// Needed for autocompletion and compilation. +/// Needed for autocompletion and compilation. +/// Needed for autocompletion and compilation. \ No newline at end of file diff --git a/tests/tsconfig.json b/tests/tsconfig.json index 0ec588987..5d13c12c4 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -1,12 +1,14 @@ { "compilerOptions": { - "module": "commonjs", - "target": "es5", - "sourceMap": true, - "experimentalDecorators": true, - "emitDecoratorMetadata": true, + "noEmitOnError": true, "noEmitHelpers": true, - "noEmitOnError": true + "target": "es5", + "module": "commonjs", + "declaration": false, + "noImplicitAny": false, + "noImplicitUseStrict": true, + "experimentalDecorators": true, + "diagnostics": true }, "exclude": [ "node_modules",