diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-11 17:19:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 17:19:36 -0400 |
commit | 637a9ecd6a3f3311601b4de36f6035ae63297f77 (patch) | |
tree | 291cf38b77bf2709b538fb4918d753c05511e1f1 /cli/js/web/url.ts | |
parent | da28fc1e7b4551281ad14d49c7fb396010ba0107 (diff) |
dedup URLSearchParams, URL, Location, DOMStringList (#4719)
Diffstat (limited to 'cli/js/web/url.ts')
-rw-r--r-- | cli/js/web/url.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/js/web/url.ts b/cli/js/web/url.ts index 374997a1e..374ddd252 100644 --- a/cli/js/web/url.ts +++ b/cli/js/web/url.ts @@ -1,7 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { customInspect } from "./console.ts"; -import * as domTypes from "./dom_types.d.ts"; -import { urls, URLSearchParams } from "./url_search_params.ts"; +import { urls } from "./url_search_params.ts"; import { getRandomValues } from "../ops/get_random_values.ts"; interface URLParts { @@ -139,7 +138,7 @@ function resolvePathFromBase(path: string, basePath: string): string { /** @internal */ export const parts = new WeakMap<URL, URLParts>(); -export class URL implements domTypes.URL { +export class URLImpl implements URL { #searchParams!: URLSearchParams; [customInspect](): string { |