-
Notifications
You must be signed in to change notification settings - Fork 187
Expand file tree
/
Copy pathtsconfig.json
More file actions
27 lines (27 loc) * 2.16 KB
/
tsconfig.json
File metadata and controls
27 lines (27 loc) * 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"compilerOptions": {
"target": "ES2020", // Zhi Ding ECMAScript Mu Biao Ban Ben : 'ES3' (default), 'ES5', 'ES6'/'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'
"jsx": "preserve", // Zhi Ding jsx Dai Ma De Sheng Cheng : 'preserve', 'react-native', or 'react'
"jsxFactory": "h", // Dang Shi Yong Jing Dian De JSXYun Xing Shi Bian Yi JSXYuan Su Shi ,Geng Gai .jsWen Jian Zhong Diao Yong De Han Shu ,Mo Ren :React.createElement
"jsxFragmentFactory": "Fragment", // Zhi Ding JSX Pian Duan Gong Han Han Shu Zai Zhi Ding Liao jsxFactory Bian Yi Qi Xuan Xiang De Qing Kuang Xia Zhen Dui react JSX Fa Chu Shi Shi Yong Zhi Ding Shi Yong Mo Kuai : 'commonjs', 'amd', 'system', 'umd' or 'es2015'
"lib": ["ES2020", "DOM"], // Zhi Ding Yao Bao Han Zai Bian Yi Zhong De Ku Wen Jian
"baseUrl": ".", // Yong Yu Jie Xi Fei Xiang Dui Mo Kuai Ming Cheng De Ji Mu Lu
"module": "ES2020", //
"moduleResolution": "node", // Xuan Ze Mo Kuai Jie Xi Ce Lue : 'node' (Node.js) or 'classic' (TypeScript pre-1.6)
"paths": {
"@/*": ["src/*"] // Mo Kuai Ming Dao Ji Yu baseUrl De Lu Jing Ying She De Lie Biao
},
"resolveJsonModule": true, // Shi Fou Jie Xi JSON Mo Kuai
"allowJs": true, // Yun Xu Bian Yi javascript Wen Jian
"checkJs": true, // Bao Gao javascript Wen Jian Zhong De Cuo Wu
"strict": true, // Kai Qi Suo You Yan Ge De Lei Xing Jian Cha
"noImplicitAny": false,
"sourceMap": true, // Shi Fou Sheng Cheng Xiang Ying De MapYing She De Wen Jian ,Mo Ren :false
"esModuleInterop": true, // Shi Fou Tong Guo Wei Suo You Dao Ru Mo Kuai Chuang Jian Ming Ming Kong Jian Dui Xiang ,Yun Xu CommonJSHe ESMo Kuai Zhi Jian De Hu Cao Zuo Xing ,Kai Qi Gai Xuan Xiang Shi ,Ye Zi Dong Kai Qi allowSyntheticDefaultImportsXuan Xiang ,Mo Ren :false
"skipLibCheck": true, // Shi Fou Tiao Guo Sheng Ming Wen Jian De Lei Xing Jian Cha ,Zhe Ke Yi Zai Bian Yi Qi Jian Yi Xi Sheng Lei Xing Xi Tong Zhun Que Xing Wei Dai Jie Lai Jie Sheng Shi Jian ,Mo Ren :false
"ignoreDeprecations": "5.0" // Xuan Xiang importsNotUsedAsValues Yi Qi Yong ,Bing Jiang Zai TypeScript 5.5 Zhong Ting Zhi Gong Zuo . Zhi Ding compilerOption De "ignoreprecations ": "5.0" Lai Xiao Chu Zhe Ge Cuo Wu ,Shi Yong verbatimModuleSyntax Dai Ti
},
"include": ["src/**/*", "src/**/*.vue", "vite.config.ts"], // Zhi Ding Bei Bian Yi Wen Jian Suo Zai De Mu Lu
"exclude": ["node_modules", "dist", "**/*.js"] // Zhi Ding Bu Xu Yao Bei Bian Yi De Mu Lu
}