mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-16 18:44:33 +00: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;
|