blob: 39f819e1765d541539bc44907a85674b7ddf2a52 [file] [log] [blame]
San3yuan4d0e8032025-04-04 17:21:40 +08001{
2 "compilerOptions": {
3 "jsx": "preserve",
4
5 /* Language and Environment */
6 "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
7 "module": "commonjs", /* Specify what module code is generated. */
8 "rootDir": "./src", /* Specify the root folder within your source files. */
9 "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
10 "baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */
11 "paths": {
12 "common/*": [
13 "src/common/*"
14 ],
15 "@/*": [
16 "src/*"
17 ]
18 }, /* Specify a set of entries that re-map imports to additional lookup locations. */
19 "sourceMap": true,
20 "noImplicitReturns": true,
21 "importHelpers": true,
22 "noUnusedLocals": true,
23 "noFallthroughCasesInSwitch": true,
24 "noUnusedParameters": true,
25 "noEmit": true,
26 "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
27 // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
28 "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
29 /* Type Checking */
30 "strict": true, /* Enable all strict type-checking options. */
San3yuan2534d422025-04-08 21:43:18 +080031 "skipLibCheck": true /* Skip type checking all .d.ts files. */
San3yuan4d0e8032025-04-04 17:21:40 +080032 },
San3yuan2534d422025-04-08 21:43:18 +080033 "include": [
34 "src",
35 "typed-css.d.ts"//配置的.d.ts文件
36 ]
San3yuan4d0e8032025-04-04 17:21:40 +080037}