You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

util.d.ts 399 B

2 vuotta sitten
12345678910
  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. }