forked from zama-ai/relayer-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
35 lines (35 loc) · 1001 Bytes
/
tsconfig.json
File metadata and controls
35 lines (35 loc) · 1001 Bytes
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
{
"compilerOptions": {
"noEmit": false,
"rootDir": "src",
"outDir": "bundle",
"declaration": false,
// Use `ES2021` for native `Node v16+` support.
"target": "es2021",
// Use ES2022 to access to the Error `.cause` property.
"lib": ["es2022", "DOM", "WebWorker"],
"module": "commonjs",
// skipLibCheck is set to 'true' to skip typing errors due to DOM + WebWorker.
"skipLibCheck": true,
"esModuleInterop": true,
"allowJs": true,
"strict": true,
"baseUrl": ".",
"resolveJsonModule": true,
"paths": {
"@base/*": ["./src/base/*"],
"@sdk/*": ["./src/sdk/*"],
"@relayer-provider/*": ["./src/relayer-provider/*"],
"*": ["*"]
},
// Add a bit of extra testing
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true
},
"include": ["src", "types"],
"exclude": ["node_modules"]
}