forked from LottieFiles/lottie-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
executable file
·34 lines (34 loc) · 1.59 KB
/
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
26
27
28
29
30
31
32
33
34
{
"compilerOptions": {
"target": "es5", // Specify ECMAScript target version
"module": "esnext", // Specify module code generation
"moduleResolution": "node", // Resolve modules using Node.js style
// "allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export
"resolveJsonModule": true, // Include modules imported with .json extension
"jsx": "react", // Support JSX in .tsx files
"lib": ["es5", "es6", "dom"],
// "allowJs": true, // Allow JavaScript
"skipLibCheck": true,
// "esModuleInterop": true,
"sourceMap": true, // Generate corresponding .map file
"declaration": true, // Do not generate corresponding .d.ts file
"forceConsistentCasingInFileNames": true,
"strict": true,
"strictNullChecks": true,
"noImplicitReturns": true, // Report errors on implicit return types
"noImplicitThis": true, // Report errors on implicit this type
"noImplicitAny": true, // Report errors on implicit any types
"noUnusedLocals": true, // Report errors on unused locals
"noUnusedParameters": true, // Report errors on unused parameters
"noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement
"experimentalDecorators": true, // Enables experimental support for ES decorators
"emitDecoratorMetadata": true, // Emit decorator metadata
"importHelpers": false, // Import helper functions from tslib
"preserveConstEnums": true,
"noEmit": false,
"plugins": [],
"declarationDir": ""
},
"include": ["src", "stories"],
"exclude": ["node_modules"]
}