diff options
Diffstat (limited to 'frontend/tsconfig.json')
| -rw-r--r-- | frontend/tsconfig.json | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 33e429f..9575a13 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -1,20 +1,18 @@ { "include": [ - "**/*.ts", - "**/*.tsx", - "**/.server/**/*.ts", - "**/.server/**/*.tsx", - "**/.client/**/*.ts", - "**/.client/**/*.tsx" + "**/*", + "**/.server/**/*", + "**/.client/**/*", + ".react-router/types/**/*" ], "compilerOptions": { "lib": ["DOM", "DOM.Iterable", "ES2022"], - "types": ["@remix-run/node", "vite/client"], + "types": ["node", "vite/client"], "isolatedModules": true, "esModuleInterop": true, "jsx": "react-jsx", "module": "ESNext", - "moduleResolution": "Bundler", + "moduleResolution": "bundler", "resolveJsonModule": true, "target": "ES2022", "strict": true, @@ -26,6 +24,7 @@ "paths": { "~/*": ["./app/*"] }, + "rootDirs": [".", "./.react-router/types"], "noEmit": true } } |
