Browse Source

无JIRA任务 修改下描述

es6
fay 4 years ago
parent
commit
5e5a6b040a
  1. 6
      typescript/core/base.ts

6
typescript/core/base.ts

@ -287,15 +287,15 @@ export interface _base {
unescape: (str?: string) => string;
bind: (func: Function, thisArg: any, ...partials: any) => Function;
bind: <T extends Function>(func: T, thisArg: any, ...partials: any) => T;
once: (func: Function) => Function;
partial: (func: Function, ...partials: any) => Function;
debounce: (func: Function, wait?: number, options?: any) => Function;
debounce: <T extends Function>(func: T, wait?: number, options?: any) => T;
throttle: (func: Function, wait?: number, options?: any) => Function;
throttle: <T extends Function>(func: T, wait?: number, options?: any) => T;
delay: (func: Function, wait: number, ...args: any[]) => number;

Loading…
Cancel
Save