-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtsconfig.json
26 lines (26 loc) · 1.57 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
{
"compilerOptions": {
"target": "ES2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"jsx": "react", /* Specify what JSX code is generated. */
"moduleResolution": "Node",
"declaration": true, /* Specify what module code is generated. */
"baseUrl": ".",/* Specify the base directory to resolve non-relative module names. */
"paths": {"rt/*":["./src/*"], "@/*": ["./src/*"]}, /* Specify a set of entries that re-map imports to additional lookup locations. */
"resolveJsonModule": true, /* Enable importing .json files. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"allowJs": true,
"strict": false, /* Enable all strict type-checking options. */
"strictFunctionTypes": false, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
"skipLibCheck": true,
"emitDeclarationOnly": true,
"allowSyntheticDefaultImports": true,
},
"include": [
"./src/**/*.ts",
"./src/**/*.tsx",
"./src/**/*.js",
"./src/**/*.jsx"
],
"exclude": ["node_modules", "dist", "stories"]
}