mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
add constructor paramters to Blob
This commit is contained in:
Vendored
+17
-12
@@ -1886,6 +1886,23 @@ declare var HTMLCollection: {
|
||||
new(): HTMLCollection;
|
||||
}
|
||||
|
||||
interface BlobPropertyBag {
|
||||
type?: string;
|
||||
endings?: string;
|
||||
}
|
||||
|
||||
interface Blob {
|
||||
type: string;
|
||||
size: number;
|
||||
msDetachStream(): any;
|
||||
slice(start?: number, end?: number, contentType?: string): Blob;
|
||||
msClose(): void;
|
||||
}
|
||||
declare var Blob: {
|
||||
prototype: Blob;
|
||||
new (blobParts?: any[], options?: BlobPropertyBag): Blob;
|
||||
}
|
||||
|
||||
interface NavigatorID {
|
||||
appVersion: string;
|
||||
appName: string;
|
||||
@@ -10027,18 +10044,6 @@ declare var FileReader: {
|
||||
new(): FileReader;
|
||||
}
|
||||
|
||||
interface Blob {
|
||||
type: string;
|
||||
size: number;
|
||||
msDetachStream(): any;
|
||||
slice(start?: number, end?: number, contentType?: string): Blob;
|
||||
msClose(): void;
|
||||
}
|
||||
declare var Blob: {
|
||||
prototype: Blob;
|
||||
new(): Blob;
|
||||
}
|
||||
|
||||
interface ApplicationCache extends EventTarget {
|
||||
status: number;
|
||||
ondownloading: (ev: Event) => any;
|
||||
|
||||
Vendored
+6
-1
@@ -614,6 +614,11 @@ declare var FileReader: {
|
||||
new(): FileReader;
|
||||
}
|
||||
|
||||
interface BlobPropertyBag {
|
||||
type?: string;
|
||||
endings?: string;
|
||||
}
|
||||
|
||||
interface Blob {
|
||||
type: string;
|
||||
size: number;
|
||||
@@ -623,7 +628,7 @@ interface Blob {
|
||||
}
|
||||
declare var Blob: {
|
||||
prototype: Blob;
|
||||
new(): Blob;
|
||||
new (blobParts?: any[], options?: BlobPropertyBag): Blob;
|
||||
}
|
||||
|
||||
interface MSStream {
|
||||
|
||||
Reference in New Issue
Block a user