mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-06-24 10:11:32 +00:00
Add pull-{pushable,streams}, cleanup commonjs exports
This commit is contained in:
14
pull-pushable/index.d.ts
vendored
Normal file
14
pull-pushable/index.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
// 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"/>
|
||||
|
||||
type Pushable = {
|
||||
push: (buffer: Buffer) => void
|
||||
};
|
||||
|
||||
declare type PullPushable = () => Pushable;
|
||||
|
||||
export = PullPushable;
|
Reference in New Issue
Block a user