-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathtsconfig.json
More file actions
38 lines (38 loc) · 981 Bytes
/
tsconfig.json
File metadata and controls
38 lines (38 loc) · 981 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"compilerOptions": {
"baseUrl": "src",
"inlineSourceMap": true,
"inlineSources": true,
"module": "ESNext",
"target": "es2018",
"allowJs": false,
"skipLibCheck": true,
"noEmit": true,
"jsx": "react-jsx",
"jsxImportSource": "preact",
"noImplicitAny": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"moduleResolution": "node",
"importHelpers": true,
"downlevelIteration": true,
"esModuleInterop": true,
"lib": ["dom", "es5", "scripthost", "es2018", "DOM.Iterable"],
"paths": {
"react": ["preact/compat"],
"react-dom": ["preact/compat"]
}
},
"include": ["src/main.ts", "src/index.ts", "src/typings/*.d.ts", "src/test/**/*.ts", "src/test/**/*.tsx"],
"jest": {
"extensionsToTreatAsEsm": [".ts", ".tsx"],
"globals": {
"ts-jest": {
"useESM": true,
}
}
}
}