diff --git a/cli/npm/resolution.rs b/cli/npm/resolution.rs index 95d9fd4c9d..bfba1d67de 100644 --- a/cli/npm/resolution.rs +++ b/cli/npm/resolution.rs @@ -353,7 +353,7 @@ fn get_npm_pending_resolver( // WARNING: When bumping this version, check if anything needs to be // updated in the `setNodeOnlyGlobalNames` call in 99_main_compiler.js types_node_version_req: Some( - VersionReq::parse_from_npm("18.0.0 - 18.11.18").unwrap(), + VersionReq::parse_from_npm("18.0.0 - 18.16.19").unwrap(), ), }, ) diff --git a/cli/tests/unit_node/_fs/_fs_watch_test.ts b/cli/tests/unit_node/_fs/_fs_watch_test.ts index 2316b2db3d..26b0da8b97 100644 --- a/cli/tests/unit_node/_fs/_fs_watch_test.ts +++ b/cli/tests/unit_node/_fs/_fs_watch_test.ts @@ -12,7 +12,7 @@ Deno.test({ name: "watching a file", async fn() { const file = Deno.makeTempFileSync(); - const result: Array<[string, string]> = []; + const result: Array<[string, string | null]> = []; const watcher = watch( file, (eventType, filename) => result.push([eventType, filename]),