Skip to content

Commit

Permalink
Added ES6 way to import the bluebird promise (#1461)
Browse files Browse the repository at this point in the history
Added ES6 way to import the bluebird promise
  • Loading branch information
miteshvmehta authored and benjamingr committed Nov 9, 2017
1 parent 3790a92 commit 4163e82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/docs/getting-started.md
Expand Up @@ -16,6 +16,10 @@ Then:
```js
var Promise = require("bluebird");
```
Alternatively in ES6
```js
import * as Promise from 'bluebird';
```

## Browsers

Expand Down

0 comments on commit 4163e82

Please sign in to comment.