diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-11 16:25:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 16:25:31 -0400 |
commit | da28fc1e7b4551281ad14d49c7fb396010ba0107 (patch) | |
tree | 9293ea58dda9c48e5536d7d953414c66bffb2499 /cli/js/web/text_encoding.ts | |
parent | 0641ad0d9b073f67e6f665430567d00b7f36e8a8 (diff) |
dedup type declarations (#4718)
Blob, BlobPart, BufferSource, ReferrerPolicy, BlobPart, AbortSignal, AbortSignalEventMap
Diffstat (limited to 'cli/js/web/text_encoding.ts')
-rw-r--r-- | cli/js/web/text_encoding.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/js/web/text_encoding.ts b/cli/js/web/text_encoding.ts index b0630bf95..e54cf0418 100644 --- a/cli/js/web/text_encoding.ts +++ b/cli/js/web/text_encoding.ts @@ -25,7 +25,6 @@ import * as base64 from "./base64.ts"; import { decodeUtf8 } from "./decode_utf8.ts"; -import * as domTypes from "./dom_types.d.ts"; import { core } from "../core.ts"; const CONTINUE = null; @@ -449,7 +448,7 @@ export class TextDecoder { } decode( - input?: domTypes.BufferSource, + input?: BufferSource, options: TextDecodeOptions = { stream: false } ): string { if (options.stream) { |