InvokeAI/invokeai/frontend/web/tsconfig.json

37 lines
1.0 KiB
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,
"strictPropertyInitialization": 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
}
}