-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathtsconfig.json
More file actions
39 lines (36 loc) · 1.26 KB
/
tsconfig.json
File metadata and controls
39 lines (36 loc) · 1.26 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
{
"compilerOptions": {
"module": "ESNext",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx",
"target": "ES2020",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strict": true, // enables all strict flags
"strictNullChecks": true, // catch nulls/undefined
"noImplicitAny": true, // no sneaky `any`s
"strictBindCallApply": true, // stricter function/method calls
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true, // safer array/object access
"noImplicitReturns": true, // ensure functions return something
"noImplicitThis": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"esModuleInterop": true,
"isolatedModules": true, // for strict module isolation
"noEmitOnError": true, // stop emitting if errors exist
"lib": ["ES2020"],
"typeRoots": ["./node_modules/@types"]
},
"include": ["src/**/*", "tests/**/*", "scripts/**/*"],
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
}