diff --git a/index.d.ts b/index.d.ts index 0563609b..27280d32 100644 --- a/index.d.ts +++ b/index.d.ts @@ -6,7 +6,7 @@ export = Choo declare class Choo { constructor (opts?: Choo.IChoo) - use (callback: (state: Choo.IState, emitter: EventEmitter) => void): void + use (callback: (state: Choo.IState, emitter: EventEmitter, app: this) => void): void route (routeName: string, handler: (state: Choo.IState, emit: (name: string, ...args: any[]) => void) => void): void mount (selector: string): void start (): HTMLElement