Skip to content

Commit 334e667

Browse files
committed
fix: tsconfig and references
1 parent 38bd113 commit 334e667

File tree

2 files changed

+13
-24
lines changed

2 files changed

+13
-24
lines changed

Diff for: references.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
/// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
2-
/// <reference path="./node_modules/tns-platform-declarations/android.d.ts" />
1+
/// <reference path="./node_modules/@nativescript/types/index.d.ts" />

Diff for: tsconfig.json

+12-22
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,21 @@
11
{
22
"compilerOptions": {
33
"module": "esnext",
4-
"target": "es2020",
4+
"target": "ES2020",
5+
"moduleResolution": "node",
56
"experimentalDecorators": true,
67
"emitDecoratorMetadata": true,
7-
"skipLibCheck": true,
88
"noEmitHelpers": true,
9-
"noEmitOnError": false,
10-
"diagnostics": true,
11-
"lib": [
12-
"es6",
13-
"dom",
14-
"ESNext"
15-
],
9+
"noEmitOnError": true,
10+
"skipLibCheck": true,
11+
"lib": ["ESNext", "dom"],
1612
"baseUrl": ".",
1713
"paths": {
18-
"~/*": [
19-
"app/*"
20-
]
21-
},
22-
"moduleResolution": "node",
23-
"removeComments": false
14+
"~/*": ["app/*"],
15+
"@/*": ["app/*"]
16+
}
2417
},
25-
"exclude": [
26-
"node_modules",
27-
"platforms",
28-
"**/*.aot.ts",
29-
"../src/node_modules"
30-
]
31-
}
18+
"include": ["app/**/*"],
19+
"files": ["./references.d.ts"],
20+
"exclude": ["node_modules", "platforms"]
21+
}

0 commit comments

Comments
 (0)