-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
42 lines (42 loc) · 1.44 KB
/
Copy pathtsconfig.json
File metadata and controls
42 lines (42 loc) · 1.44 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
32
33
34
35
36
37
38
39
40
41
42
{
"compilerOptions": {
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "Bundler",
"lib": ["ES2022"],
"types": ["@cloudflare/workers-types", "node"],
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"noUnusedLocals": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
"isolatedModules": true,
"noEmit": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
// Consumer code a suite exercises — the Node template's activity store —
// imports this package by name, and `dist/` does not exist when typecheck
// runs. Point that one specifier at the source entry. It is for template
// and example files only: `test/purity.test.ts` fails if anything under
// src/ imports the package by its own name, and the template's own
// program (tsconfig.template.node.json) still checks it against the
// shipped declarations.
"baseUrl": ".",
"paths": {
"@zackbart/connecta": ["./src/index.ts"],
"@zackbart/connecta/*": ["./src/*"]
}
},
"include": ["src/**/*.ts", "test/**/*.ts"],
"exclude": [
"node_modules",
"examples",
"src/operator-ui/app",
// Imports the browser store, so it typechecks in the DOM-lib program
// (tsconfig.operator-ui.json) rather than this one.
"test/operator-store.test.ts"
]
}