declarations
Version:
[](https://www.npmjs.com/package/declarations)
19 lines (12 loc) • 522 B
TypeScript
// Type definitions for on-finished v2.2.0
// Project: https://github.com/jshttp/on-finished
// Definitions by: Honza Dvorsky <http://github.com/czechboy0>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module 'on-finished' {
function onFinished(msg:NodeJS.EventEmitter, listener:Function): NodeJS.EventEmitter;
namespace onFinished {
export function isFinished(msg:NodeJS.EventEmitter):boolean;
}
export = onFinished;
}