Files
cut-abstractions/tsconfig.json
2817212736@qq.com 03229b5f48 更改处理器上下文类型为TS接口,多项优化:
- 修复Typescript库依赖错误
- 完善注释,格式化代码
- 更新pnpm lock文件版本为9.0
2025-07-15 16:13:59 +08:00

30 lines
1.8 KiB
JSON

{
"include": ["src/**/*"],
"exclude": ["node_modules","samples","tests"],
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
/* Language and Environment */
// "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"target": "ES6",
/* Modules */
"module": "commonjs", /* Specify what module code is generated. */
// "rootDir": "./", /* Specify the root folder within your source files. */
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
"lib": ["DOM", "ES6", "ES2021"],
/* Emit */
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
"outDir": "./dist", /* Specify an output folder for all emitted files. */
"rootDir": "./src",
"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. */
"sourceMap": true
}
}