415gotit
This commit is contained in:
15
node_modules/event-lite/event-lite.d.ts
generated
vendored
Normal file
15
node_modules/event-lite/event-lite.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// event-lite.d.ts
|
||||
|
||||
declare class EventLite {
|
||||
static mixin(proto: any): any;
|
||||
|
||||
on(event: string, listener: (...args: any[]) => void): this;
|
||||
|
||||
once(event: string, listener: (...args: any[]) => void): this;
|
||||
|
||||
off(event: string, listener: (...args: any[]) => void): this;
|
||||
|
||||
emit(event: string, ...args: any[]): boolean;
|
||||
}
|
||||
|
||||
export = EventLite;
|
||||
Reference in New Issue
Block a user