1
0
mirror of https://github.com/fluencelabs/libp2p-ts synced 2025-06-26 11:11:32 +00:00
Files
libp2p-ts/types/pull-pushable/index.d.ts

19 lines
458 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
};
export type PullPushable = () => Pushable;
const pushable: PullPushable;
export default pushable;
2018-06-22 12:53:49 +02:00
}