fix: upgrade deno_ast to 0.19 (#15808)

This commit is contained in:
David Sherret 2022-09-07 15:06:18 -04:00 committed by GitHub
parent 429759fe8b
commit 9e6917426a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 115 additions and 128 deletions

View file

@ -27,10 +27,8 @@ pub async fn print_docs(
.unwrap_or_else(|| "--builtin".to_string());
let mut doc_nodes = if source_file == "--builtin" {
// todo(dsherret): change this back to deno://lib.deno.d.ts once
// https://github.com/denoland/deno_ast/issues/109 is fixed
let source_file_specifier =
ModuleSpecifier::parse("deno://dts/lib.deno.d.ts").unwrap();
ModuleSpecifier::parse("deno://lib.deno.d.ts").unwrap();
let content = get_types(ps.options.unstable());
let mut loader = deno_graph::source::MemoryLoader::new(
vec![(