diff --git a/apps/remix-template/tsconfig.json b/apps/remix-template/tsconfig.json index a1c91ae..cb59c5d 100644 --- a/apps/remix-template/tsconfig.json +++ b/apps/remix-template/tsconfig.json @@ -1,20 +1,10 @@ { "include": ["**/*.ts", "**/*.tsx"], + "extends": "@repo/typescript-config/remix.json", "compilerOptions": { - "lib": ["DOM", "DOM.Iterable", "ES2022"], "types": ["@vercel/remix", "vite/client"], - "isolatedModules": true, - "esModuleInterop": true, - "jsx": "react-jsx", "module": "ESNext", - "moduleResolution": "Bundler", - "resolveJsonModule": true, - "target": "ES2022", - "strict": true, - "allowJs": true, "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, - "baseUrl": ".", "paths": { "~/*": ["./app/*"] }, diff --git a/packages/config-typescript/remix.json b/packages/config-typescript/remix.json index 2fd7c52..35d7d38 100644 --- a/packages/config-typescript/remix.json +++ b/packages/config-typescript/remix.json @@ -2,13 +2,13 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "./base.json", "compilerOptions": { - "lib": ["DOM", "DOM.Iterable", "ES2019"], + "lib": ["DOM", "DOM.Iterable", "ES2022"], "isolatedModules": true, "esModuleInterop": true, "jsx": "react-jsx", "moduleResolution": "Bundler", "resolveJsonModule": true, - "target": "ES2019", + "target": "ES2022", "strict": true, "allowJs": true, "forceConsistentCasingInFileNames": true,