We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9b544 commit 61ff297Copy full SHA for 61ff297
index.d.ts
@@ -6,7 +6,7 @@ export = Choo
6
7
declare class Choo {
8
constructor (opts?: Choo.IChoo)
9
- use (callback: (state: Choo.IState, emitter: EventEmitter) => void): void
+ use (callback: (state: Choo.IState, emitter: EventEmitter, app: this) => void): void
10
route (routeName: string, handler: (state: Choo.IState, emit: (name: string, ...args: any[]) => void) => void): void
11
mount (selector: string): void
12
start (): HTMLElement
0 commit comments