Fix apps and tests TypeScript projects

This commit is contained in:
Rossen Hristov
2016-07-12 10:58:23 +03:00
parent 525d0c43e3
commit 7cb56a857a
5 changed files with 29 additions and 16 deletions

View File

@ -1 +1,5 @@
/// <reference path="../tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/android17.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/ios.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/org.nativescript.widgets.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/declarations.android.d.ts" /> Needed for autocompletion and compilation.

View File

@ -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",

View File

@ -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"
}
}
}

View File

@ -1 +1,5 @@
/// <reference path="../tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/android17.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/ios.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/org.nativescript.widgets.d.ts" /> Needed for autocompletion and compilation.
/// <reference path="../tns-core-modules/declarations.android.d.ts" /> Needed for autocompletion and compilation.

View File

@ -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",