From da28fc1e7b4551281ad14d49c7fb396010ba0107 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 11 Apr 2020 16:25:31 -0400 Subject: dedup type declarations (#4718) Blob, BlobPart, BufferSource, ReferrerPolicy, BlobPart, AbortSignal, AbortSignalEventMap --- cli/js/web/text_encoding.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/js/web/text_encoding.ts') 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) { -- cgit v1.2.3