Skip to content

Commit 61ff297

Browse files
seangenabegoto-bus-stop
authored andcommitted
typings: add app to app.use cb (#665)
1 parent 1d9b544 commit 61ff297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export = Choo
66

77
declare class Choo {
88
constructor (opts?: Choo.IChoo)
9-
use (callback: (state: Choo.IState, emitter: EventEmitter) => void): void
9+
use (callback: (state: Choo.IState, emitter: EventEmitter, app: this) => void): void
1010
route (routeName: string, handler: (state: Choo.IState, emit: (name: string, ...args: any[]) => void) => void): void
1111
mount (selector: string): void
1212
start (): HTMLElement

0 commit comments

Comments
 (0)