-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit and release
3.5.2
of [@cw-types/bluebird](https://ww…
- Loading branch information
0 parents
commit 72965fb
Showing
3 changed files
with
889 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Oops, something went wrong.