diff options
Diffstat (limited to 'web/tsconfig.app.json')
| -rw-r--r-- | web/tsconfig.app.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/web/tsconfig.app.json b/web/tsconfig.app.json new file mode 100644 index 0000000..edabd23 --- /dev/null +++ b/web/tsconfig.app.json @@ -0,0 +1,32 @@ +{ + "compilerOptions": { + "target": "ES2022", + "lib": ["ES2022", "DOM", "DOM.Iterable"], + "module": "ESNext", + "moduleResolution": "bundler", + "jsx": "react-jsx", + + // Strict + "strict": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + "noImplicitReturns": true, + + // Interop + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "resolveJsonModule": true, + "verbatimModuleSyntax": true, + "isolatedModules": true, + + // Path aliases: import { x } from '@/components/...' + "baseUrl": ".", + "paths": { + "@/*": ["src/*"] + }, + + // Não emite arquivos (Vite cuida do bundling) + "noEmit": true + }, + "include": ["src"] +} |