Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

tsconfig.json

40 lines1.0 KB

1{
2 "include": [
3 "**/*.ts",
4 "**/*.tsx",
5​
6 "vite.config.js"
7 ],
8 // Examples are separate TS projects (each registers its own TanStack
9 // router via the global Register interface, which must not merge with
10 // the root app's). `pnpm run typecheck` checks them via -p.
11 "exclude": ["node_modules", "dist", "packages/*/dist", "examples"],
12​
13 "compilerOptions": {
14 "target": "ES2022",
15 "jsx": "react-jsx",
16 "module": "ESNext",
17 "paths": {
18 "#/*": ["./src/*"],
19 "@/*": ["./src/*"]
20 },
21 "lib": ["ES2022", "DOM", "DOM.Iterable"],
22 "types": ["vite/client"],
23​
24 /* Bundler mode */
25 "moduleResolution": "bundler",
26 "allowImportingTsExtensions": true,
27 "verbatimModuleSyntax": true,
28 "noEmit": true,
29​
30 /* Linting */
31 "skipLibCheck": true,
32 "strict": true,
33 "noUncheckedIndexedAccess": true,
34 "noImplicitOverride": true,
35 "noUnusedLocals": true,
36 "noUnusedParameters": true,
37 "noFallthroughCasesInSwitch": true,
38 "noUncheckedSideEffectImports": true
39 }