Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
31 lines (31 loc) · 1.63 KB
/
Copy pathtsconfig.json
File metadata and controls
31 lines (31 loc) · 1.63 KB
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
{
"compilerOptions": {
"target": "ES2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"lib": [
"ES2022"
] /* Specify a set of bundled library declaration files that describe the target runtime environment. */,
"module": "ES2022" /* Specify what module code is generated. */,
"moduleResolution": "bundler" /* Specify how TypeScript looks up a file from a given module specifier. */,
"paths": {
"pg": ["./src/shims/pg"],
"pg-connection-string": ["./src/shims/pg-connection-string"],
"events": ["./src/shims/events"]
},
"types": ["events", "node", "pg", "ws"],
"esModuleInterop": true,
"resolveJsonModule": true /* Enable importing .json files */,
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */,
"checkJs": false /* Enable error reporting in type-checked JavaScript files. */,
"declaration": true,
"emitDeclarationOnly": true,
"rootDir": "./src",
"declarationDir": "build/types",
"isolatedModules": true /* Ensure that each file can be safely transpiled without relying on other imports. */,
"allowSyntheticDefaultImports": true /* Allow 'import x from y' when a module doesn't have a default export. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"strict": true /* Enable all strict type-checking options. */,
"noImplicitOverride": true,
"skipLibCheck": false /* Skip type checking all .d.ts files. */
},
"files": ["src/index.ts", "src/http/index.ts"]
}