aboutsummaryrefslogtreecommitdiff
path: root/web/tsconfig.app.json
blob: edabd23691785118a60ec72a247724285ed8be1e (plain)
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
26
27
28
29
30
31
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"]
}