AI销管
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
399 B

  1. export declare function formatSeconds(seconds: number | string): string;
  2. export declare function throttle(fn: Function, wait: number): Function;
  3. export declare class EventBus {
  4. private _events;
  5. constructor();
  6. protected on(event: any, action: any, fn: () => {}): void;
  7. private has;
  8. protected emit(event: any, data?: any): void;
  9. protected off(event: any, action: any): void;
  10. }