@jacobbubu/pull-stream-types
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@jacobbubu/pull-stream-types

Build Status npm

Yet another pull-stream typescript declaration file.

Intro.

Although Michael de Wit has provided a typescript declaration file for pull-stream, in order to facilitate some type-wise modifications, I still extract the original one out and use it independently.

Usage

npm install pull-stream -S
npm install @jacobbubu/pull-stream-types -D

Then add a module definition into your compilerOptions in tsconfig.json. That may look like:

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "pull-stream": ["node_modules/@jacobbubu/pull-stream-types"]
    }
  }
}

It works for tsc, ts-node and ts-node-dev.

Test

A test file(test/pull-stream-test.ts) has been provided to verify the correctness of the declaration file.

You can npm run build:watch for debugging.

Readme

Keywords

none

Package Sidebar

Install

npm i @jacobbubu/pull-stream-types

Weekly Downloads

455

Version

1.1.0

License

MIT

Unpacked Size

12.3 kB

Total Files

4

Last publish

Collaborators

  • jacobbubu