-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
22 lines (22 loc) · 1.22 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"compilerOptions": {
"noEmit": true /* Most important thing: will not compile anything */,
"jsx": "preserve" /* Do not compile your JSX */,
"allowSyntheticDefaultImports": true /* To import without "* as" */,
"alwaysStrict": true,
"target": "ESNEXT",
"strictNullChecks": true /* You have to add "| null" in your type when needed */,
"strictFunctionTypes": true /* Enable strict checking of function types. */,
"noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
"noUnusedLocals": true /* Report errors on unused locals. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"moduleResolution":
"node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
"module": "esnext",
"baseUrl":
"./src" /* Base directory to resolve non-absolute module names. */,
"lib": ["es2016", "dom", "dom.iterable"]
}
}