You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
886 B
JSON

/* vscode使 */
{
"compilerOptions": {
"target": "es5",//指定要使用的默认库(lib.d.ts)。值为 "es3", "es5", "es6", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "esnext".
"module": "esnext",//在生成模块代码时指定模块系统。值为“ amd”、“ commonJS”、“ es2015”、“ es6”、“ esnext”、“ none”、“ system”、“ umd”
"baseUrl": "./", //解析非相关模块名称的基础目录
"moduleResolution": "node", //指定如何解析导入模块。值为“node”和“classic”
"paths": { //@出现提示路径
"@/*": [
"src/*"
]
},
"lib": [//含默认的库文件
"esnext",
"dom",
"dom.iterable",
"scripthost"
],
},
"include": [//提示的文件包含区域
"src"
]
}