DefinitelyTyped/types/one-time/index.d.ts
2018-12-31 08:33:41 -08:00

9 lines
337 B
TypeScript

// Type definitions for one-time 0.0
// Project: https://github.com/unshiftio/one-time
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = oneTime;
declare function oneTime<TFn extends Function>(fn: TFn): TFn; // tslint:disable-line:ban-types