diff options
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r-- | cli/lsp/tsc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 72dbcc3a8..b4f4d52c7 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -3977,7 +3977,7 @@ fn op_script_names(state: &mut OpState) -> Vec<String> { ); for specifier in specifiers { if seen.insert(specifier.as_str()) { - if let Some(specifier) = documents.resolve_redirected(specifier) { + if let Some(specifier) = documents.resolve_specifier(specifier) { // only include dependencies we know to exist otherwise typescript will error if documents.exists(&specifier) { result.push(specifier.to_string()); |