1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-02 14:49:16 +02:00

Merge pull request #1115 from bard/epub-types

update Epub() type signature to reflect implementation
This commit is contained in:
Fred Chasen 2021-03-08 11:42:34 -08:00 committed by GitHub
commit 701ef3ab24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
types/epub.d.ts vendored
View file

@ -2,5 +2,5 @@ import Book, { BookOptions } from "./book";
export default Epub;
declare function Epub(url: string, options?: BookOptions) : Book;
declare function Epub(urlOrData: string | ArrayBuffer, options?: BookOptions) : Book;
declare function Epub(options?: BookOptions) : Book;