mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-18 12:08:59 +08:00
17 lines
476 B
TypeScript
17 lines
476 B
TypeScript
// Type definitions for zen-push 0.1
|
|
// Project: https://github.com/zenparsing/zen-push
|
|
// Definitions by: daprahamian <https://github.com/daprahamian>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
import * as Observable from 'zen-observable';
|
|
|
|
declare class PushStream<T> {
|
|
readonly observable: Observable<T>;
|
|
readonly observed: number;
|
|
next(x: T): void;
|
|
error(e: Error): void;
|
|
complete(x?: any): void;
|
|
}
|
|
|
|
export default PushStream;
|