From 6642c435ca336b5e4948fdbfc48f8c3c5d008fee Mon Sep 17 00:00:00 2001 From: Massimiliano Mirra Date: Sun, 16 Aug 2020 10:40:10 +0100 Subject: [PATCH] update Epub() type signature to reflect implementation --- types/epub.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/epub.d.ts b/types/epub.d.ts index 18064fa..c87c9de 100644 --- a/types/epub.d.ts +++ b/types/epub.d.ts @@ -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;