-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.shared.json
25 lines (25 loc) · 1.08 KB
/
tsconfig.shared.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
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
// The output environment that the code will be compiled for
"target": "ESNext",
// The output module resolution system that the code will be compiled for
"module": "ESNext",
// The input module resolution system (until https://github.com/microsoft/TypeScript/issues/37582 is fixed)
"moduleResolution": "Node",
// Skip type checking of all declaration files
"skipLibCheck": true,
// Allow default imports from modules with no default export
"allowSyntheticDefaultImports": true,
// Transpiler React JSX code to jsx-runtime.
"jsx": "react-jsx",
// Don't allow any javascript files import in ts files
"allowJs": false,
// Import non-ES modules as default imports
"esModuleInterop": true,
// Disallow features that require cross-file information for emit
"isolatedModules": true,
// We don't want to create declaration files when linting with tsc
"noEmit": true
}
}