mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
dedup type declarations (#4718)
Blob, BlobPart, BufferSource, ReferrerPolicy, BlobPart, AbortSignal, AbortSignalEventMap
This commit is contained in:
parent
0641ad0d9b
commit
da28fc1e7b
8 changed files with 16 additions and 81 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue