mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix: bump default @types/node version range to 18.16.19 (#19706)
This commit is contained in:
parent
39872646eb
commit
a3986b641c
2 changed files with 2 additions and 2 deletions
|
@ -353,7 +353,7 @@ fn get_npm_pending_resolver(
|
||||||
// WARNING: When bumping this version, check if anything needs to be
|
// WARNING: When bumping this version, check if anything needs to be
|
||||||
// updated in the `setNodeOnlyGlobalNames` call in 99_main_compiler.js
|
// updated in the `setNodeOnlyGlobalNames` call in 99_main_compiler.js
|
||||||
types_node_version_req: Some(
|
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(),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,7 +12,7 @@ Deno.test({
|
||||||
name: "watching a file",
|
name: "watching a file",
|
||||||
async fn() {
|
async fn() {
|
||||||
const file = Deno.makeTempFileSync();
|
const file = Deno.makeTempFileSync();
|
||||||
const result: Array<[string, string]> = [];
|
const result: Array<[string, string | null]> = [];
|
||||||
const watcher = watch(
|
const watcher = watch(
|
||||||
file,
|
file,
|
||||||
(eventType, filename) => result.push([eventType, filename]),
|
(eventType, filename) => result.push([eventType, filename]),
|
||||||
|
|
Loading…
Reference in a new issue