generated from tjx666/awesome-chrome-extension-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathtsconfig.json
33 lines (29 loc) · 993 Bytes
/
tsconfig.json
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
28
29
30
31
32
33
{
"compilerOptions": {
/* Basic Options */
"jsx": "react-jsx",
"isolatedModules": true,
/* Strict Type-Checking Options */
"strict": true,
/* Module Resolution Options */
"moduleResolution": "node",
"esModuleInterop": true,
"resolveJsonModule": true,
/* Experimental Options */
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
/* Advanced Options */
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
// 下面这些选项对 babel 编译 TypeScript 没有作用但是可以让 VSCode 等编辑器正确提示错误
"target": "ES2022",
"module": "ESNext",
"baseUrl": "./",
"types": ["jquery", "webext-bridge", "jquery.fancytree", "jest"],
"typeRoots": ["node_modules/@types", "src/typings"],
"paths": {
"@/*": ["src/*"]
}
},
"exclude": ["manifest.ts"]
}