mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 18:43:21 +08:00
18 lines
478 B
TypeScript
18 lines
478 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 types="node" />
|
|
|
|
|
|
|
|
|
|
declare function onFinished(msg: NodeJS.EventEmitter, listener: Function): NodeJS.EventEmitter;
|
|
|
|
declare namespace onFinished {
|
|
export function isFinished(msg: NodeJS.EventEmitter): boolean;
|
|
}
|
|
|
|
export = onFinished;
|