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