mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Big replacement: bool with boolean
This commit is contained in:
Vendored
+10
-10
@@ -87,7 +87,7 @@ declare module jszip {
|
||||
*
|
||||
* @return {JSZipFile[]} array of matched elements
|
||||
*/
|
||||
filter(predicate: (relativePath: string, file: JSZipFile) => bool): JSZipFile[];
|
||||
filter(predicate: (relativePath: string, file: JSZipFile) => boolean): JSZipFile[];
|
||||
|
||||
/**
|
||||
* Calculate crc32 of given string
|
||||
@@ -123,20 +123,20 @@ declare module jszip {
|
||||
}
|
||||
|
||||
export interface JSZipSupport {
|
||||
arraybuffer: bool;
|
||||
uint8array: bool;
|
||||
blob: bool;
|
||||
arraybuffer: boolean;
|
||||
uint8array: boolean;
|
||||
blob: boolean;
|
||||
}
|
||||
|
||||
export interface JSZipGeneratorOptions {
|
||||
base64?: bool; //deprecated
|
||||
base64?: boolean; //deprecated
|
||||
compression: string; //DEFLATE or STORE
|
||||
type: string; //base64 (default), string, uint8array, blob
|
||||
}
|
||||
|
||||
export interface JSZipOptions {
|
||||
base64: bool;
|
||||
checkCRC32: bool;
|
||||
base64: boolean;
|
||||
checkCRC32: boolean;
|
||||
}
|
||||
|
||||
export interface JSZipFile {
|
||||
@@ -151,9 +151,9 @@ declare module jszip {
|
||||
}
|
||||
|
||||
export interface JSZipFileOptions {
|
||||
base64: bool;
|
||||
binary: bool;
|
||||
dir: bool;
|
||||
base64: boolean;
|
||||
binary: boolean;
|
||||
dir: boolean;
|
||||
date: Date;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user