1 Star 0 Fork 0

张志阳/Nodejs-Express-Sqlite3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
张志阳 提交于 2024-09-16 11:11 +08:00 . 首次提交
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
"outDir": "./dist",
"rootDir": "./src", // 源文件目录
"removeComments": true, // 删除注释
/* Language and Environment */
"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
/* Modules */
"module": "commonjs" /* Specify what module code is generated. */,
"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. */,
/* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"typeRoots": [
"./node_modules/@types",
"src/@types" // 这里假设你有个自定义类型定义目录
]
// "target": "ESNext", // 目标版本
// "module": "ESNext", // 设置为ES模块
// "moduleResolution": "Node", // 使用Node方式解析模块
// "esModuleInterop": true // 允许ES模块和CommonJS之间的互操作
},
"include": [
"src/**/*" // 包含src目录下的所有文件
],
"exclude": [
"node_modules",
"**/*.spec.ts" // 排除测试文件
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhang-zhiyang/nodejs-express-sqlite3.git
git@gitee.com:zhang-zhiyang/nodejs-express-sqlite3.git
zhang-zhiyang
nodejs-express-sqlite3
Nodejs-Express-Sqlite3
master

搜索帮助