mirror of
https://github.com/zrwusa/data-structure-typed.git
synced 2024-11-14 09:24:05 +00:00
24 lines
1.9 KiB
JSON
24 lines
1.9 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true, // Allow the compiler to compile JavaScript files (.js).
|
|
"allowSyntheticDefaultImports": true, // Allow synthetic default imports to improve module interoperability.
|
|
"baseUrl": "./", // Specify the base path of the root directory for module import.
|
|
"declaration": true, // Generate declaration files (.d.ts) for type checking and code hints.
|
|
"esModuleInterop": true, // Enable ECMAScript module interop for correct handling of CommonJS modules.
|
|
"inlineSourceMap": false, // Whether to map inline sources to compiled JavaScript files.
|
|
"lib": ["esnext"], // Specify the standard library version of the compilation target.
|
|
"listEmittedFiles": false, // List generated output files.
|
|
"listFiles": false, // List source files compiled by the compiler.
|
|
"noFallthroughCasesInSwitch": true, // Forced to check whether the case statement in the switch statement has the fallthrough mark.
|
|
"pretty": true, // Output a pretty error message.
|
|
"resolveJsonModule": true, // Enable parsing of the JSON module.
|
|
"skipLibCheck": true, // Skip type checking of type libraries.
|
|
"strict": true, // Enable strict type checking, including enabling all strict options.
|
|
"traceResolution": false, // Whether to trace the module resolution process.
|
|
"types": ["node", "jest"], // Specifies the name of the type declaration file to include.
|
|
"noImplicitOverride": true,
|
|
"typeRoots": ["node_modules/@types", "src/types", "test/types"]
|
|
},
|
|
"compileOnSave": false, // Whether to automatically compile when saving.
|
|
"exclude": ["node_modules", "dist"], // Specify files or directories that should not be included in the compilation.
|
|
} |