mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
fix: do not download compilerOptions -> types when not type checking (#24473)
Closes https://github.com/denoland/deno/issues/22738
This commit is contained in:
parent
e5c3c21e95
commit
43d10a558b
6 changed files with 22 additions and 4 deletions
|
@ -1301,9 +1301,7 @@ impl CliOptions {
|
|||
self.maybe_lockfile.clone()
|
||||
}
|
||||
|
||||
/// Return any imports that should be brought into the scope of the module
|
||||
/// graph.
|
||||
pub fn to_maybe_imports(
|
||||
pub fn to_compiler_option_types(
|
||||
&self,
|
||||
) -> Result<Vec<deno_graph::ReferrerImports>, AnyError> {
|
||||
self.workspace.to_maybe_imports().map(|maybe_imports| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue