2018-09-04 12:49:12 +02:00

19 lines
495 B
TypeScript

// Type definitions for pull-pushable 2.0.0
// Project: https://github.com/pull-stream/pull-pushable
// Definitions by: Jaco Greeff <https://github.com/jacogr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
declare module 'pull-pushable' {
export type Pushable = {
push: (buffer: Buffer) => void
};
export type PullPushable = (errorHandler?: (error: Error) => void) => Pushable;
const pushable: PullPushable;
export default pushable;
}