1.1.0 • Published 4 years ago

@jacobbubu/pull-stream-types v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@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.

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago