Skip to content

Commit

Permalink
Merge pull request #23 from lmk123/typescript-export
Browse files Browse the repository at this point in the history
change TypeScript export syntax
  • Loading branch information
scottcorgan committed Aug 17, 2017
2 parents e5440fe + 4525852 commit 567ff16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export declare class EventEmitter {
declare class EventEmitter {
on (event: string, callback: Function, ctx?: any): EventEmitter;
once (event: string, callback: Function, ctx?: any): EventEmitter;
emit (event: string, ...args: any[]): EventEmitter;
off (event: string, callback?: Function): EventEmitter;
}

export = EventEmitter

0 comments on commit 567ff16

Please sign in to comment.