mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
Support more fetch init body types (#1449)
This commit is contained in:
parent
5b9c488921
commit
8d452d74fa
4 changed files with 91 additions and 3 deletions
|
@ -3,7 +3,7 @@ import * as domTypes from "./dom_types";
|
|||
import { containsOnlyASCII } from "./util";
|
||||
import { TextEncoder } from "./text_encoding";
|
||||
|
||||
const bytesSymbol = Symbol("bytes");
|
||||
export const bytesSymbol = Symbol("bytes");
|
||||
|
||||
export class DenoBlob implements domTypes.Blob {
|
||||
private readonly [bytesSymbol]: Uint8Array;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue