mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 18:43:21 +08:00
11 lines
239 B
TypeScript
11 lines
239 B
TypeScript
import { Emitter } from ".";
|
|
|
|
declare namespace pipe {
|
|
interface EmitterPipe {
|
|
close(): void;
|
|
}
|
|
}
|
|
|
|
declare function pipe(source: Emitter, target: Emitter, emitMethodName?: string | symbol): pipe.EmitterPipe;
|
|
export = pipe;
|