mirror of
https://github.com/denoland/deno.git
synced 2025-01-08 15:19:40 -05:00
Fix deno types | head (#3910)
This commit is contained in:
parent
c2986891f6
commit
98fc7db47d
1 changed files with 4 additions and 1 deletions
|
@ -124,12 +124,15 @@ fn create_main_worker(
|
|||
}
|
||||
|
||||
fn types_command() {
|
||||
println!(
|
||||
let types = format!(
|
||||
"{}\n{}\n{}",
|
||||
crate::js::DENO_NS_LIB,
|
||||
crate::js::SHARED_GLOBALS_LIB,
|
||||
crate::js::WINDOW_LIB
|
||||
);
|
||||
use std::io::Write;
|
||||
let _r = std::io::stdout().write_all(types.as_bytes());
|
||||
// TODO(ry) Only ignore SIGPIPE. Currently ignoring all errors.
|
||||
}
|
||||
|
||||
fn print_cache_info(state: &GlobalState) {
|
||||
|
|
Loading…
Reference in a new issue