mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Lint
This commit is contained in:
parent
f09089cf77
commit
7c7c554ee7
84 changed files with 13879 additions and 14510 deletions
20
types/archive.d.ts
vendored
20
types/archive.d.ts
vendored
|
@ -1,27 +1,25 @@
|
|||
import JSZip = require('jszip');
|
||||
import JSZip = require("jszip");
|
||||
|
||||
export default class Archive {
|
||||
constructor();
|
||||
|
||||
open(input: BinaryType, isBase64?: boolean): Promise<JSZip>;
|
||||
|
||||
openUrl(zipUrl: string, isBase64?: boolean): Promise<JSZip>;
|
||||
|
||||
request(url: string, type?: string): Promise<Blob | string | JSON | Document | XMLDocument>;
|
||||
|
||||
request(
|
||||
url: string,
|
||||
type?: string
|
||||
): Promise<Blob | string | JSON | Document | XMLDocument>;
|
||||
getBlob(url: string, mimeType?: string): Promise<Blob>;
|
||||
|
||||
getText(url: string): Promise<string>;
|
||||
|
||||
getBase64(url: string, mimeType?: string): Promise<string>;
|
||||
|
||||
createUrl(url: string, options: { base64: boolean }): Promise<string>;
|
||||
|
||||
revokeUrl(url: string): void;
|
||||
|
||||
destroy(): void;
|
||||
|
||||
private checkRequirements(): void;
|
||||
|
||||
private handleResponse(response: any, type?: string): Blob | string | JSON | Document | XMLDocument;
|
||||
private handleResponse(
|
||||
response: any,
|
||||
type?: string
|
||||
): Blob | string | JSON | Document | XMLDocument;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue