mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Merge pull request #1239 from rafaelsaback/fix-locations-generate-type
Fix locations.generate's return type
This commit is contained in:
commit
f6fece4f88
2 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ class Locations {
|
|||
/**
|
||||
* Load all of sections in the book to generate locations
|
||||
* @param {int} chars how many chars to split on
|
||||
* @return {object} locations
|
||||
* @return {Promise<Array<string>>} locations
|
||||
*/
|
||||
generate(chars) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue