Skip to content

Commit

Permalink
Initial commit and release 3.5.2 of [@cw-types/bluebird](https://ww…
Browse files Browse the repository at this point in the history
  • Loading branch information
KavanShaban committed Mar 30, 2017
0 parents commit 72965fb
Show file tree
Hide file tree
Showing 3 changed files with 889 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Installation

> First, run `npm install --save @cw-types/bluebird`

>Then, you must add `node_modules/@cw-types` to your `tsconifg.json` file, like so:
```javascript
"typeRoots": [
"node_modules/@cw-types",
"node_modules/@types"
]
```
> This will enable the Typescript compiler to find and use this typing since it is not installed under `node_modules/@types`.
> Please note the order is important of the entries in `typeRoots`. If you want `node_modules/@types` to resolve first then move it up top.
# Summary
Modified type definitions for `bluebird` `3.5.0`
that force return values for `then`, `catch` and other
chaining function that make sense to have return values.

This package contains type definitions for [bluebird](https://github.com/petkaantonov/bluebird).


# Credits
Starting definitions were written by [Leonard Hecker](https://github.com/lhecker).

# Maintainers
This project is mainted by [Kavan J. Shaban](https://github.com/kavanshaban) at [Cycloware](https://github.com/cycloware)
Loading

0 comments on commit 72965fb

Please sign in to comment.