UNPKG

@feflow/cli

Version:
16 lines 440 B
export default class Hook { private readonly listeners; private readonly maxListener; constructor(); on(type: string, listener: Function): void; emit(type: string, ...args: any[]): void; /** * Run hook `type` callbacks and then invoke `fn()`. * * @private * @param {string} type * @param {Function} fn */ hook(type: string, fn: Function): void; } //# sourceMappingURL=index.d.ts.map