Skip to content

wrong constructor for Blob #622

Description

@bsr203

in lib.d.ts, Blob constructor is defined as

declare var Blob: {
    prototype: Blob;
    new(): Blob;
}

It used to be

declare var Blob: {
    prototype: Blob;
    new (blobParts?: any[], options?: BlobPropertyBag): Blob;
}

As per https://developer.mozilla.org/en-US/docs/Web/API/Blob , http://msdn.microsoft.com/en-us/library/windows/apps/hh453178.aspx, it should allow optional parameters.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions