diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-14 09:23:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 09:23:07 -0400 |
commit | ff60b311299e11d1cf761b29e38ea54ad1744bff (patch) | |
tree | 5605e043c1769991ad0f6d6b9113c56f23c0ddba /cli/js/web/blob.ts | |
parent | 360c05ffe7fc91058a6c8acd5ea9b4e2ed120946 (diff) |
dedup various type definitions (#4741)
FormData FilePropertyBag DomFile BlobPropertyBag RequestCache
RequestCredentials RequestDestination RequestMode RequestRedirect
ResponseType
Diffstat (limited to 'cli/js/web/blob.ts')
-rw-r--r-- | cli/js/web/blob.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/web/blob.ts b/cli/js/web/blob.ts index ab6074b91..8f9615933 100644 --- a/cli/js/web/blob.ts +++ b/cli/js/web/blob.ts @@ -103,7 +103,7 @@ function toUint8Arrays( function processBlobParts( blobParts: BlobPart[], - options: domTypes.BlobPropertyBag + options: BlobPropertyBag ): Uint8Array { const normalizeLineEndingsToNative = options.ending === "native"; // ArrayBuffer.transfer is not yet implemented in V8, so we just have to @@ -171,7 +171,7 @@ export class DenoBlob implements Blob { readonly size: number = 0; readonly type: string = ""; - constructor(blobParts?: BlobPart[], options?: domTypes.BlobPropertyBag) { + constructor(blobParts?: BlobPart[], options?: BlobPropertyBag) { if (arguments.length === 0) { this[bytesSymbol] = new Uint8Array(); return; |