Add pull-{pushable,streams}, cleanup commonjs exports

This commit is contained in:
Jaco Greeff
2018-06-21 15:49:53 +02:00
parent c96c7b7003
commit d0869fbebc
26 changed files with 107 additions and 41 deletions

14
pull-pushable/index.d.ts vendored Normal file
View 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;