mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Merge pull request #1115 from bard/epub-types
update Epub() type signature to reflect implementation
This commit is contained in:
commit
701ef3ab24
1 changed files with 1 additions and 1 deletions
2
types/epub.d.ts
vendored
2
types/epub.d.ts
vendored
|
@ -2,5 +2,5 @@ import Book, { BookOptions } from "./book";
|
||||||
|
|
||||||
export default Epub;
|
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;
|
declare function Epub(options?: BookOptions) : Book;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue