blob: 38a3c058c09409f3c07d1f3ea89f17c0d1f80d23 [file] [log] [blame]
{
"compilerOptions": {
"jsx": "react-jsx",
/* Language and Environment */
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "commonjs", /* Specify what module code is generated. */
"rootDir": "./src", /* Specify the root folder within your source files. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */
"paths": {
"common/*": [
"src/common/*"
],
"@/*": [
"src/*"
],
"&/*":[
"./*"
]
}, /* Specify a set of entries that re-map imports to additional lookup locations. */
"sourceMap": true,
"noImplicitReturns": true,
"importHelpers": true,
"noUnusedLocals": false,
"noFallthroughCasesInSwitch": true,
"noUnusedParameters": false,
"noEmit": true,
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
/* Type Checking */
"strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": [
"src",
"jest.setup.ts",
"typed-css.d.ts",//配置的.d.ts文件
"typed-image.d.ts"
]
}