dedup type declarations (#4718)

Blob, BlobPart, BufferSource, ReferrerPolicy, BlobPart, AbortSignal, AbortSignalEventMap
This commit is contained in:
Ryan Dahl 2020-04-11 16:25:31 -04:00 committed by GitHub
parent 0641ad0d9b
commit da28fc1e7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 81 deletions

View file

@ -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) {