08-27-周三_17-09-29
This commit is contained in:
6
node_modules/tiny-emitter/index.d.ts
generated
vendored
Normal file
6
node_modules/tiny-emitter/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
export declare class TinyEmitter {
|
||||
on(event: string, callback: Function, ctx?: any): this;
|
||||
once(event: string, callback: Function, ctx?: any): this;
|
||||
emit(event: string, ...args: any[]): this;
|
||||
off(event: string, callback?: Function): this;
|
||||
}
|
Reference in New Issue
Block a user