mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
feat: TypeScript 5.0.2 (except decorators) (#18294)
This upgrades TypeScript to 5.0.2, but does not have ES decorator support because swc does not support that yet.
This commit is contained in:
parent
0366d6833f
commit
2fcf1f14cf
111 changed files with 173492 additions and 178485 deletions
|
@ -264,8 +264,7 @@ fn get_tsc_roots(
|
|||
}
|
||||
}
|
||||
|
||||
// todo(https://github.com/denoland/deno_graph/pull/253/): pre-allocate this
|
||||
let mut result = Vec::new();
|
||||
let mut result = Vec::with_capacity(graph.specifiers_count());
|
||||
if graph.has_node_specifier {
|
||||
// inject a specifier that will resolve node types
|
||||
result.push((
|
||||
|
@ -313,6 +312,7 @@ fn get_tsc_roots(
|
|||
maybe_get_check_entry(module, check_js)
|
||||
}
|
||||
}));
|
||||
|
||||
result
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue