-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtsconfig.json
More file actions
34 lines (34 loc) · 1.24 KB
/
Copy pathtsconfig.json
File metadata and controls
34 lines (34 loc) · 1.24 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
{
"compilerOptions": {
"baseUrl": ".",
"module": "es2022",
"lib": ["dom", "es2023"],
"declaration": true,
"noEmitOnError": false,
"jsx": "react-jsx",
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
// NOTE: this is why every `Aria*Props` type imported from `react-aria`
// silently resolves to `any`. `react-aria` re-exports them from
// `@react-aria/*` subpackages that are not direct dependencies, and with
// symlinks preserved TS resolves from the symlink path and never finds
// them; `skipLibCheck` then hides the failure. Removing this flag surfaces
// ~320 previously-unchecked errors, so it needs its own migration. Until
// then, components must declare the Aria props they support explicitly
// rather than inheriting them — see the note in `AGENTS.md`.
"preserveSymlinks": true,
"noImplicitAny": false,
"target": "es2022",
"noEmit": true,
"types": ["vitest/globals"]
},
"include": ["src/**/*"]
}