-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
24 lines (24 loc) · 1.54 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
{
"compilerOptions": {
"outDir": "dist",
"types": ["vite/client", "jest", "@testing-library/jest-dom"],
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"jsx": "react", /* Specify what JSX code is generated. */
"module": "ESNext", /* Specify what module code is generated. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"baseUrl": "./src", /* Specify the base directory to resolve non-relative module names. */
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"paths": {
"shared/*": ["shared/*"],
"entities/*": ["entities/*"],
"widgets/*": ["widgets/*"],
"pages/*": ["pages/*"]
},
"isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
"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. */
"resolveJsonModule": true,
"strict": false, /* Enable all strict type-checking options. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
}
}