mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
duplicates removed
This commit is contained in:
28
declarations.d.ts
vendored
28
declarations.d.ts
vendored
@ -28,34 +28,6 @@ declare var console: Console;
|
|||||||
declare var global;
|
declare var global;
|
||||||
declare var require;
|
declare var require;
|
||||||
|
|
||||||
//XMLHttpRequest-related
|
|
||||||
interface FormData {
|
|
||||||
append(name: any, value: any, blobName?: string): void;
|
|
||||||
}
|
|
||||||
|
|
||||||
declare var FormData: {
|
|
||||||
prototype: FormData;
|
|
||||||
new (): FormData;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Blob {
|
|
||||||
size: number;
|
|
||||||
type: string;
|
|
||||||
msClose(): void;
|
|
||||||
msDetachStream(): any;
|
|
||||||
slice(start?: number, end?: number, contentType?: string): Blob;
|
|
||||||
}
|
|
||||||
|
|
||||||
declare var Blob: {
|
|
||||||
prototype: Blob;
|
|
||||||
new (blobParts?: any[], options?: BlobPropertyBag): Blob;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface BlobPropertyBag {
|
|
||||||
type?: string;
|
|
||||||
endings?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Global functions
|
// Global functions
|
||||||
declare function Deprecated(target: Object, key?: string | symbol, value?: any): void;
|
declare function Deprecated(target: Object, key?: string | symbol, value?: any): void;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user