mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
Add URL implementation (#1359)
This commit is contained in:
parent
1e54f1d473
commit
91a41ca124
5 changed files with 397 additions and 0 deletions
|
@ -16,6 +16,7 @@ import * as fetchTypes from "./fetch";
|
|||
import * as headers from "./headers";
|
||||
import * as textEncoding from "./text_encoding";
|
||||
import * as timers from "./timers";
|
||||
import * as url from "./url";
|
||||
import * as urlSearchParams from "./url_search_params";
|
||||
|
||||
// These imports are not exposed and therefore are fine to just import the
|
||||
|
@ -56,6 +57,8 @@ window.Blob = blob.DenoBlob;
|
|||
export type Blob = blob.DenoBlob;
|
||||
window.File = file.DenoFile;
|
||||
export type File = file.DenoFile;
|
||||
window.URL = url.URL;
|
||||
export type URL = url.URL;
|
||||
window.URLSearchParams = urlSearchParams.URLSearchParams;
|
||||
export type URLSearchParams = urlSearchParams.URLSearchParams;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue