mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
19 lines
515 B
TypeScript
19 lines
515 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/borisyankov/DefinitelyTyped
|
|
|
|
/// <reference path="../node/node.d.ts" />
|
|
|
|
|
|
declare module 'on-finished' {
|
|
|
|
function onFinished(msg:NodeJS.EventEmitter, listener:Function): NodeJS.EventEmitter;
|
|
|
|
module onFinished {
|
|
export function isFinished(msg:NodeJS.EventEmitter):boolean;
|
|
}
|
|
|
|
export = onFinished;
|
|
}
|