InvokeAI/invokeai/frontend/web/tsconfig.json
2024-01-22 09:37:26 +11:00

36 lines
987 B
JSON

{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
// TODO: Disabled for IDE performance issues with our translation JSON
// "resolveJsonModule": true,
"noUncheckedIndexedAccess": true,
"strictNullChecks": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"baseUrl": "./",
"paths": {
"*": ["./src/*"],
},
},
"include": ["src/**/*.ts", "src/**/*.tsx", "*.d.ts", ".storybook/**/*"],
"exclude": ["src/services/fixtures/*", "node_modules", "dist"],
"references": [{ "path": "./tsconfig.node.json" }],
"ts-node": {
"compilerOptions": {
"jsx": "preserve",
},
"esm": true,
},
}