-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathtsconfig.json
40 lines (36 loc) · 1.13 KB
/
tsconfig.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"target": "es2022",
// "verbatimModuleSyntax": true, https://twitter.com/mattpocockuk/status/1704041192588001444
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
/* If your code runs in the DOM: */
"lib": ["DOM", "DOM.Iterable", "ES2022"],
/* If your code runs in Node.js: */
"isolatedModules": true,
"noImplicitAny": true,
"jsx": "react-jsx",
/* If NOT transpiling with TypeScript: */
"moduleResolution": "Bundler",
"noEmit": true,
"baseUrl": ".",
"paths": {
"~/*": ["app/*"],
"payload/generated-types": ["app/db/payload-types.ts"],
"payload/generated-custom-types": ["app/db/payload-custom-types.ts"],
"mana-config": ["app/config.ts"]
}
},
"ts-node": {
"swc": true
}
}