-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
22 lines (22 loc) · 1.91 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
{
"compilerOptions": {
"target": "es6", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "es2022", /* Specify what module code is generated. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */
"paths": {
"@/*": ["resources/js/*"],
"@/domains/*": ["resources/js/domains/*"],
"@/domains/meal/*": ["resources/js/domains/meal"],
"@/Modules/*": ["resources/js/Modules/*"],
"@/utils/*": ["resources/js/utils/*"],
"~shared/*": ["resources/js/Components/shared/*"]
}, /* Specify a set of entries that re-map imports to additional lookup locations. */
"typeRoots": ["./node_modules/@types", "./src/types"], /* Specify multiple folders that act like './node_modules/@types'. */
"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. */ /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"strict": true, /* Enable all strict type-checking options. */
},
"exclude": ["node_modules", "public"]
} /* Enable all strict type-checking options. */