mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-03-31 01:11:04 +00:00
17 lines
411 B
TypeScript
17 lines
411 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' {
|
|
type Pushable = {
|
|
push: (buffer: Buffer) => void
|
|
};
|
|
|
|
type PullPushable = () => Pushable;
|
|
|
|
export = PullPushable;
|
|
}
|