1 Star 0 Fork 6

aigouzz/tencentcloud-sdk-nodejs

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
lylianchen 提交于 2020-09-30 10:28 +08:00 . feat(typescript): sdk 支持typescript
{
"compilerOptions": {
// "incremental": true, /* 增量编译 提高编译速度*/
"target": "ES2019" /* 编译目标ES版本*/,
"module": "commonjs" /* 编译目标模块系统*/,
// "lib": [], /* 编译过程中需要引入的库文件列表*/
"declaration": true /* 编译时创建声明文件 */,
"outDir": "tencentcloud" /* ts编译输出目录 */,
"rootDir": "src" /* ts编译根目录. */,
"importHelpers": true /* 从tslib导入辅助工具函数(如__importDefault)*/,
"strict": true /* 严格模式开关 等价于noImplicitAny、strictNullChecks、strictFunctionTypes、strictBindCallApply等设置true */,
"strictNullChecks": false,
"noUnusedLocals": false /* 未使用局部变量报错*/,
"noUnusedParameters": false /* 未使用参数报错*/,
"noImplicitReturns": true /* 有代码路径没有返回值时报错*/,
"noFallthroughCasesInSwitch": true /* 不允许switch的case语句贯穿*/,
"moduleResolution": "node" /* 模块解析策略 */,
"typeRoots": [
/* 要包含的类型声明文件路径列表*/
"./typings",
"./node_modules/@types"
],
"allowSyntheticDefaultImports": true /* 允许从没有设置默认导出的模块中默认导入,仅用于提示,不影响编译结果*/,
"esModuleInterop": false /* 允许编译生成文件时,在代码中注入工具类(__importDefault、__importStar)对ESM与commonjs混用情况做兼容处理*/,
"sourceMap": false
},
"include": [
/* 需要编译的文件 */
"src/**/*.ts",
"typings/**/*.ts"
],
"exclude": []
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/aigouzz/tencentcloud-sdk-nodejs.git
git@gitee.com:aigouzz/tencentcloud-sdk-nodejs.git
aigouzz
tencentcloud-sdk-nodejs
tencentcloud-sdk-nodejs
master

搜索帮助