-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.base.json
20 lines (19 loc) · 1.34 KB
/
tsconfig.base.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//shared TypeScript configuration for all packages.
{
"compilerOptions": {
"target": "ES2020", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "ESNext", /* Specify what module code is generated. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
"jsx": "preserve",
"removeComments": true,
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
//"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
"strict": true, /*enables strict type-checking options. a shortcut that turns on the following settings: noImplicitAny, strictNullChecks,strictFunctionTypes, etc */
"sourceMap": true,
"jsxImportSource": "solid-js",
"moduleResolution": "node"
},
"include": ["packages/**/*"],
"exlude": ["node_modules"]
}