mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Change 'export default' to 'export =' For packages that don't actually export a 'default' property. * 7 more packages
17 lines
470 B
TypeScript
17 lines
470 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 = PushStream;
|