-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtsconfig.json
More file actions
23 lines (23 loc) · 744 Bytes
/
Copy pathtsconfig.json
File metadata and controls
23 lines (23 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"types": ["node", "vite/client"],
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler",
"jsx": "react-jsx", // Enable React JSX transformation
"allowJs": true, // Allow imports of JavaScript files
"declaration": true, // Generate `.d.ts` files
"declarationDir": "dist", // Output directory for types
"outDir": "dist", // Output directory for compiled files
"emitDeclarationOnly": true,
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"noEmit": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}