diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-03-22 12:55:17 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-03-22 12:55:17 +0300 |
| commit | fb44a7183458f6b24d6bcd02ce02eb639f68a436 (patch) | |
| tree | c27510dcc0d5fab9f9ead9025c3be37cb0cb46a4 /lib | |
| parent | 87ee7c68c7bd862ea1faec38b0204020dcade995 (diff) | |
| download | the-epube-fb44a7183458f6b24d6bcd02ce02eb639f68a436.tar.gz the-epube-fb44a7183458f6b24d6bcd02ce02eb639f68a436.tar.xz | |
add/fix some type hints
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/epub.js/types/locations.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/epub.js/types/locations.d.ts b/lib/epub.js/types/locations.d.ts index 05bb256..055958a 100644 --- a/lib/epub.js/types/locations.d.ts +++ b/lib/epub.js/types/locations.d.ts @@ -5,7 +5,7 @@ import EpubCFI from "./epubcfi"; export default class Locations { constructor(spine: Spine, request?: Function, pause?: number); - generate(chars: number): Promise<Array<string>>; + generate(chars: number, callback: Function): Promise<Array<string>>; process(section: Section): Promise<Array<string>>; |
