mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Lint
This commit is contained in:
parent
f09089cf77
commit
7c7c554ee7
84 changed files with 13879 additions and 14510 deletions
6
types/utils/hook.d.ts
vendored
6
types/utils/hook.d.ts
vendored
|
@ -1,5 +1,5 @@
|
|||
interface HooksObject {
|
||||
[key: string]: Hook
|
||||
[key: string]: Hook;
|
||||
}
|
||||
|
||||
export default class Hook {
|
||||
|
@ -7,12 +7,8 @@ export default class Hook {
|
|||
|
||||
register(func: Function): void;
|
||||
register(arr: Array<Function>): void;
|
||||
|
||||
deregister(func: Function): void;
|
||||
|
||||
trigger(...args: any[]): Promise<any>;
|
||||
|
||||
list(): Array<any>;
|
||||
|
||||
clear(): void;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue