mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
fix: pull .d.ts files from js mod (#8671)
This commit is contained in:
parent
df87bf1d6a
commit
9bff85836c
1 changed files with 2 additions and 6 deletions
|
@ -56,12 +56,8 @@ pub fn get_asset(asset: &str) -> Option<&'static str> {
|
|||
"/lib.webworker.iterable.d.ts" => inc!("lib.webworker.iterable.d.ts"),
|
||||
// These come from op crates
|
||||
// TODO(@kitsonk) these is even hackier than the rest of this...
|
||||
"/lib.deno.web.d.ts" => {
|
||||
Some(include_str!("../../op_crates/web/lib.deno_web.d.ts"))
|
||||
}
|
||||
"/lib.deno.fetch.d.ts" => {
|
||||
Some(include_str!("../../op_crates/fetch/lib.deno_fetch.d.ts"))
|
||||
}
|
||||
"/lib.deno.web.d.ts" => Some(js::DENO_WEB_LIB),
|
||||
"/lib.deno.fetch.d.ts" => Some(js::DENO_FETCH_LIB),
|
||||
// These are included in the snapshot for TypeScript, and could be retrieved
|
||||
// from there?
|
||||
"/lib.d.ts" => inc!("lib.d.ts"),
|
||||
|
|
Loading…
Add table
Reference in a new issue