mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Added type declarations
This commit is contained in:
parent
0da286b0a2
commit
6bfcd1e4eb
50 changed files with 1837 additions and 54 deletions
19
types/index.d.ts
vendored
Normal file
19
types/index.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Type definitions for epubjs 0.3
|
||||
// Project: https://github.com/futurepress/epub.js#readme
|
||||
// Definitions by: Fred Chasen <https://github.com/fchasen>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
import Epub from "./epub";
|
||||
|
||||
export as namespace ePub;
|
||||
|
||||
export default Epub;
|
||||
|
||||
export { default as Book } from './book';
|
||||
export { default as EpubCFI } from './epubcfi';
|
||||
export { default as Rendition } from './rendition';
|
||||
export { default as Contents } from './contents';
|
||||
export { default as Layout } from './layout';
|
||||
|
||||
declare namespace ePub {
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue