mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor: upgrade to deno_ast 0.15 (#14680)
This commit is contained in:
parent
e7c894e8f5
commit
1fcecb6789
34 changed files with 365 additions and 314 deletions
|
@ -122,7 +122,7 @@ pub async fn print_docs(
|
|||
doc_parser.parse_source(
|
||||
&source_file_specifier,
|
||||
MediaType::Dts,
|
||||
Arc::new(get_types(ps.flags.unstable)),
|
||||
get_types(ps.flags.unstable).into(),
|
||||
)
|
||||
} else {
|
||||
let module_specifier = resolve_url_or_path(&source_file)?;
|
||||
|
@ -134,7 +134,7 @@ pub async fn print_docs(
|
|||
local: PathBuf::from("./$deno$doc.ts"),
|
||||
maybe_types: None,
|
||||
media_type: MediaType::TypeScript,
|
||||
source: Arc::new(format!("export * from \"{}\";", module_specifier)),
|
||||
source: format!("export * from \"{}\";", module_specifier).into(),
|
||||
specifier: root_specifier.clone(),
|
||||
maybe_headers: None,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue