diff --git a/index.d.ts b/index.d.ts index 422d3ea..0563609 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5,7 +5,7 @@ import * as EventEmitter from 'events' export = Choo declare class Choo { - constructor (opts: Choo.IChoo) + constructor (opts?: Choo.IChoo) use (callback: (state: Choo.IState, emitter: EventEmitter) => void): void route (routeName: string, handler: (state: Choo.IState, emit: (name: string, ...args: any[]) => void) => void): void mount (selector: string): void