-
Notifications
You must be signed in to change notification settings - Fork 127
/
tsconfig.json
43 lines (38 loc) · 982 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
34
35
36
37
38
39
40
41
42
43
// Adopted from https://blogs.msdn.microsoft.com/typescript/2018/08/27/typescript-and-babel-7/
{
"compilerOptions": {
// Target latest version of ECMAScript.
"target": "esnext",
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Enable strictest settings like strictNullChecks & noImplicitAny.
// TODO: [P1] Re-enable strictest when code is clean
// "strict": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
"declaration": true,
"declarationDir": "lib",
"emitDeclarationOnly": true,
"sourceMap": true,
// @types/jsdom@21 is failing.
"types": [
"express",
"jest",
"jsonwebtoken",
"node",
"p-defer",
"ws"
]
},
"exclude": [
"__tests__/**/*.js",
"__tests__/**/*.ts",
"src/**/*.spec.js",
"src/**/*.spec.ts",
"src/**/*.test.js",
"src/**/*.test.ts"
],
"include": [
"src/**/*"
]
}