-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
57 lines (57 loc) · 2.75 KB
/
tsconfig.json
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
46
47
48
49
50
51
52
53
54
55
56
57
{
"compilerOptions": {
"sourceMap": false,
"module": "ESNext",
"noImplicitAny": true,
"removeComments": false /* Do not emit comments to output. */,
// "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
/* Strict Type-Checking Options */
"strict": true /* Enable all strict type-checking options. */,
"strictNullChecks": true /* Enable strict null checks. */,
"strictFunctionTypes": true /* Enable strict checking of function types. */,
"strictBindCallApply": true /* Enable strict 'bind', 'call', and 'apply' methods on functions. */,
"strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
"noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
"alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,
/* Additional Checks */
"noUnusedLocals": true /* Report errors on unused locals. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
/* Module Resolution Options */
"resolveJsonModule": true,
// "moduleResolution": "",
// "esModuleInterop": true,
// "allowSyntheticDefaultImports": true,
"types": [],
"baseUrl": ".",
"paths": {
// "~/*": [
// "./types/*"
// ]
"scratch-vm": ["./node_modules/@turbowarp/types/index.d.ts"],
"scratch-render": ["./node_modules/@turbowarp/types/index.d.ts"],
"scratch-svg-renderer": ["./node_modules/@turbowarp/types/index.d.ts"],
"scratch-render-fonts": ["./node_modules/@turbowarp/types/index.d.ts"],
"scratch-storage": ["./node_modules/@turbowarp/types/index.d.ts"],
"scratch-audio": ["./node_modules/@turbowarp/types/index.d.ts"],
"scratch-parser": ["./node_modules/@turbowarp/types/index.d.ts"]
},
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"moduleResolution": "Node",
"outDir": "dist",
"declaration": true
},
"include": [
"node_modules/@turbowarp/types/types/scratch-vm-extension.d.ts",
"types/universal.d.ts",
"types/turbowarp.d.ts", // For better experience on Turbowarp
"src/**/*",
"tsup.config.ts",
"package.json"
]
}