20 lines
524 B
TypeScript
Raw Normal View History

// 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"/>
2018-06-22 12:53:49 +02:00
declare module 'pull-pushable' {
export type Pushable = {
push: (buffer: Buffer) => void
2019-05-30 11:41:19 -05:00
end: (end?: any) => void
};
export type PullPushable = (errorHandler?: (error: Error) => void) => Pushable;
const pushable: PullPushable;
export default pushable;
2018-06-22 12:53:49 +02:00
}