-
Notifications
You must be signed in to change notification settings - Fork 20
/
tsconfig.json
28 lines (24 loc) · 906 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
{
"compilerOptions": {
"noEmit": true,
// Nullish coalescing operator (??) needs to be transpiled by TypeScript to support Node.js 12
// https://stackoverflow.com/a/59787575
"target": "es2019",
"module": "esnext",
"moduleResolution": "node",
"jsx": "preserve",
"esModuleInterop": false,
"resolveJsonModule": true,
"isolatedModules": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
// FIXME
// [error TS2300: Duplicate identifier 'require'](https://github.com/tkrotoff/react-form-with-constraints/issues/12)
// [@types/react-native definitions for `global` and `require` conflict with @types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/16825)
"skipLibCheck": true
}
}