mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Added type declarations
This commit is contained in:
parent
0da286b0a2
commit
6bfcd1e4eb
50 changed files with 1837 additions and 54 deletions
9
types/epubjs-tests.ts
Normal file
9
types/epubjs-tests.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import ePub, { Book } from '../';
|
||||
|
||||
function testEpub() {
|
||||
const epub = ePub("https://s3.amazonaws.com/moby-dick/moby-dick.epub");
|
||||
|
||||
const book = new Book("https://s3.amazonaws.com/moby-dick/moby-dick.epub", {});
|
||||
}
|
||||
|
||||
testEpub();
|
Loading…
Add table
Add a link
Reference in a new issue