mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Fix apps and tests TypeScript projects
This commit is contained in:
6
apps/references.d.ts
vendored
6
apps/references.d.ts
vendored
@ -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.
|
@ -1,12 +1,14 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
"noEmitOnError": true,
|
||||||
"target": "es5",
|
|
||||||
"sourceMap": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"noEmitHelpers": true,
|
"noEmitHelpers": true,
|
||||||
"noEmitOnError": true
|
"target": "es5",
|
||||||
|
"module": "commonjs",
|
||||||
|
"declaration": false,
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"noImplicitUseStrict": true,
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"diagnostics": true
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
"babel-types": "6.9.0",
|
"babel-types": "6.9.0",
|
||||||
"babylon": "6.8.0",
|
"babylon": "6.8.0",
|
||||||
"filewalker": "0.1.2",
|
"filewalker": "0.1.2",
|
||||||
"lazy": "1.0.11"
|
"lazy": "1.0.11",
|
||||||
|
"typescript": "^1.8.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
6
tests/references.d.ts
vendored
6
tests/references.d.ts
vendored
@ -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.
|
@ -1,12 +1,14 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
"noEmitOnError": true,
|
||||||
"target": "es5",
|
|
||||||
"sourceMap": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"noEmitHelpers": true,
|
"noEmitHelpers": true,
|
||||||
"noEmitOnError": true
|
"target": "es5",
|
||||||
|
"module": "commonjs",
|
||||||
|
"declaration": false,
|
||||||
|
"noImplicitAny": false,
|
||||||
|
"noImplicitUseStrict": true,
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"diagnostics": true
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
Reference in New Issue
Block a user