diff --git a/apps/oxfmt/tsconfig.json b/apps/oxfmt/tsconfig.json index b9adf01c95b3d..99aa24c5ca601 100644 --- a/apps/oxfmt/tsconfig.json +++ b/apps/oxfmt/tsconfig.json @@ -6,7 +6,8 @@ "target": "ESNext", "strict": true, "skipLibCheck": true, - "noUnusedLocals": true + "noUnusedLocals": true, + "types": ["node"] }, "include": ["scripts", "conformance/*.ts", "src-js", "test/**/*.ts"], "exclude": ["test/**/fixtures"] diff --git a/apps/oxlint/tsconfig.json b/apps/oxlint/tsconfig.json index 66934b7401aae..551420fb6bab1 100644 --- a/apps/oxlint/tsconfig.json +++ b/apps/oxlint/tsconfig.json @@ -10,7 +10,8 @@ "strictNullChecks": true, "skipLibCheck": true, "noUnusedLocals": true, - "useUnknownInCatchVariables": true + "useUnknownInCatchVariables": true, + "types": ["node"] }, "exclude": ["node_modules", "fixtures", "test/fixtures/*/files", "conformance/submodules"] } diff --git a/napi/minify/tsconfig.json b/napi/minify/tsconfig.json index 24aeb5fd4f51e..635c3cc658906 100644 --- a/napi/minify/tsconfig.json +++ b/napi/minify/tsconfig.json @@ -4,6 +4,7 @@ "moduleResolution": "Bundler", "noEmit": true, "target": "ESNext", - "noUnusedLocals": true + "noUnusedLocals": true, + "types": ["node"] } } diff --git a/napi/parser/tsconfig.json b/napi/parser/tsconfig.json index 3d380a9be514e..365de27f9bab9 100644 --- a/napi/parser/tsconfig.json +++ b/napi/parser/tsconfig.json @@ -6,6 +6,7 @@ "target": "ESNext", "allowImportingTsExtensions": true, "noUnusedLocals": true, - "strict": false + "strict": false, + "types": ["node"] } } diff --git a/napi/transform/tsconfig.json b/napi/transform/tsconfig.json index 24aeb5fd4f51e..635c3cc658906 100644 --- a/napi/transform/tsconfig.json +++ b/napi/transform/tsconfig.json @@ -4,6 +4,7 @@ "moduleResolution": "Bundler", "noEmit": true, "target": "ESNext", - "noUnusedLocals": true + "noUnusedLocals": true, + "types": ["node"] } }