This repository was archived by the owner on Sep 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathtsconfig.json
More file actions
45 lines (45 loc) · 1.44 KB
/
tsconfig.json
File metadata and controls
45 lines (45 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"compilerOptions": {
"newLine": "CRLF",
// "module": "ESNext",
"module": "commonjs",
"target": "ES2018",
"sourceRoot": "",
"outDir": "Scripts/out",
// "outFile": "Scripts/out/code.js",
"typeRoots": [
"Packages/cc.starlessnight.unity-jsb/Typings",
"Assets/Generated/Typings",
"Scripts/types"
],
"moduleResolution": "node",
"types": [
"node"
],
// "listEmittedFiles": true,
"experimentalDecorators": true,
"noImplicitAny": false,
// use 'skipLibCheck' if compilation reports error TS2300 on Promise/Proxy type definition
// or just ignore the errors (the typescript source will still be compiled into js)
// "skipLibCheck": true,
// "strictNullChecks": true,
"allowJs": true,
"jsx": "react",
"jsxFactory": "JSX.createElement",
// "jsxFragmentFactory": "React.Fragment",
// "jsxImportSource": "react-jsb",
"inlineSourceMap": false,
"sourceMap": true
},
"compileOnSave": true,
"include": [
"Packages/cc.starlessnight.unity-jsb/Typings/**/*.ts",
"Assets/Generated/**/*.ts",
"Scripts/types/**/*.ts",
"Scripts/src/**/*.ts",
"Scripts/src/**/*.tsx"
],
"exclude": [
"Assets/Examples/Scripts/out/**/*"
]
}