Files
x_admin/x_err_sdk/tsconfig.json
2024-11-04 23:19:03 +08:00

15 lines
808 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"compilerOptions": {
"declaration": true, // 生成声明文件,开启后会自动生成声明文件
"target": "esnext", // 最新的ES标准
"lib": [
"esnext",
"dom"
], // TS需要引用的库即声明文件es5 默认引用dom、es5、scripthost,如需要使用es的高级版本特性通常都需要配置如es8的数组新特性需要引入"ES2019.Array"
"strict": true, // 开启所有严格的类型检查
"noImplicitAny": true, // 不允许隐式的any类型
"esModuleInterop": true, // 允许export=导出由import from 导入
"moduleResolution": "node", // 模块解析策略ts默认用node的解析策略即相对的方式导入
"outDir": "dist" // 指定输出目录
}
}