forked from coder/vscode-coder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
24 lines (24 loc) · 748 Bytes
/
tsconfig.json
File metadata and controls
24 lines (24 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"compilerOptions": {
"module": "commonjs",
"target": "ES2021",
"moduleResolution": "node",
"outDir": "out",
// "dom" is required for importing the API from coder/coder.
"lib": ["ES2021", "dom"],
"sourceMap": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"paths": {
// axios contains both an index.d.ts and index.d.cts which apparently have
// conflicting types. For some reason TypeScript is reading both and
// throwing errors about AxiosInstance not being compatible with
// AxiosInstance. This ensures we use only index.d.ts.
"axios": ["./node_modules/axios/index.d.ts"]
}
},
"exclude": ["node_modules"],
"include": ["src/**/*"]
}