diff options
Diffstat (limited to 'cli/tsc/mod.rs')
-rw-r--r-- | cli/tsc/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/mod.rs b/cli/tsc/mod.rs index b77f39fd5..2b8a210ab 100644 --- a/cli/tsc/mod.rs +++ b/cli/tsc/mod.rs @@ -538,7 +538,7 @@ fn op_resolve( }; for specifier in args.specifiers { if let Some(module_name) = specifier.strip_prefix("node:") { - if deno_node::resolve_builtin_node_module(module_name).is_ok() { + if deno_node::is_builtin_node_module(module_name) { // return itself for node: specifiers because during type checking // we resolve to the ambient modules in the @types/node package // rather than deno_std/node |