-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
25 lines (25 loc) · 965 Bytes
/
tsconfig.json
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
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",
// Enable JSON imports
"resolveJsonModule": true,
// Enforce the usage of type-only imports when needed, which helps avoiding bundling issues
"verbatimModuleSyntax": true,
// Ensure that each file can be transpiled without relying on other imports.
// This is redundant with the previous option, however it ensures that it's on, even if someone disables `verbatimModuleSyntax`
"isolatedModules": true,
"forceConsistentCasingInFileNames": true,
// Allow JSX files (or files that are internally considered JSX, like Astro files) to be imported inside `.js` and `.ts` files.
"jsx": "preserve",
"allowJs": true,
"checkJs": true,
"strict": true,
"noImplicitAny": true,
"skipLibCheck": true,
"declaration": true
},
"include": ["**/*.js", "**/*.ts"],
"exclude": ["node_modules", "docs/dist"]
}