blob: 38a3c058c09409f3c07d1f3ea89f17c0d1f80d23 [file] [log] [blame]
San3yuan4d0e8032025-04-04 17:21:40 +08001{
2 "compilerOptions": {
San3yuan6f2ed692025-04-16 20:24:49 +08003 "jsx": "react-jsx",
San3yuan4d0e8032025-04-04 17:21:40 +08004
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/*"
San3yuan6f2ed692025-04-16 20:24:49 +080017 ],
18 "&/*":[
19 "./*"
San3yuan4d0e8032025-04-04 17:21:40 +080020 ]
San3yuan6f2ed692025-04-16 20:24:49 +080021 }, /* Specify a set of entries that re-map imports to additional lookup locations. */
San3yuan4d0e8032025-04-04 17:21:40 +080022 "sourceMap": true,
23 "noImplicitReturns": true,
24 "importHelpers": true,
San3yuan6f2ed692025-04-16 20:24:49 +080025 "noUnusedLocals": false,
San3yuan4d0e8032025-04-04 17:21:40 +080026 "noFallthroughCasesInSwitch": true,
San3yuan6f2ed692025-04-16 20:24:49 +080027 "noUnusedParameters": false,
San3yuan4d0e8032025-04-04 17:21:40 +080028 "noEmit": true,
29 "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
30 // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
31 "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
32 /* Type Checking */
33 "strict": true, /* Enable all strict type-checking options. */
San3yuan2534d422025-04-08 21:43:18 +080034 "skipLibCheck": true /* Skip type checking all .d.ts files. */
San3yuan4d0e8032025-04-04 17:21:40 +080035 },
San3yuan2534d422025-04-08 21:43:18 +080036 "include": [
37 "src",
San3yuan6f2ed692025-04-16 20:24:49 +080038 "jest.setup.ts",
39 "typed-css.d.ts",//配置的.d.ts文件
40 "typed-image.d.ts"
San3yuan2534d422025-04-08 21:43:18 +080041 ]
San3yuan4d0e8032025-04-04 17:21:40 +080042}