You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.5 KiB
25 lines
1.5 KiB
{
|
|
"include": ["src/platform/index.ts"],
|
|
"exclude": ["node_modules"],
|
|
"allowJs": true,
|
|
|
|
"compilerOptions": {
|
|
"declaration": true /* 通过 tsc 命令时可自动生成 .d.ts 文件, 每个 ts 生成一个 .d.ts 文件 */,
|
|
"declarationDir": "dist/types" /* 自动生成 .d.ts 文件存储的根目录 */,
|
|
"declarationMap": true /* 自动生成 .d.ts.map 文件, 便于 IDE 定位源码位置 */,
|
|
"target": "ES6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
|
|
"module": "node16" /* Specify what module code is generated. */,
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
"jsx": "preserve" /* Specify what JSX code is generated. */,
|
|
"jsxImportSource": "vue",
|
|
"noEmit": true /* Disable emitting files from a compilation. */,
|
|
"allowImportingTsExtensions": true /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */,
|
|
"noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied 'any' type. */,
|
|
"moduleResolution": "node16" /* Specify how TypeScript looks up a file from a given module specifier. */,
|
|
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
|
|
"baseUrl": "." /* Specify the base directory to resolve non-relative module names. */,
|
|
"paths": {
|
|
/* Specify a set of entries that re-map imports to additional lookup locations. */ "@/*": ["src/*"]
|
|
}
|
|
}
|
|
}
|
|
|