Skip to content

Commit

Permalink
📚 docs: Fix import instructions.
Browse files Browse the repository at this point in the history
See:
  - developit/microbundle#48
  - developit/microbundle#306
  - developit/microbundle#712

Eventually we should remove the default export.
  • Loading branch information
make-github-pseudonymous-again committed Mar 18, 2021
1 parent b0409ef commit ee54240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ See [docs](https://aureooms.github.io/js-collections-deque).
Parent is [@aureooms/js-data-structures](https://github.com/aureooms/js-data-structures).

```js
import {deque} from '@aureooms/js-collections-deque';
deque( 'abcde' , 3 ) ; // 'cde'
```

Expand Down
2 changes: 1 addition & 1 deletion doc/manual/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ Then
```js
const {deque} = require( '@aureooms/js-collections-deque' ) ;
// or
import deque from '@aureooms/js-collections-deque' ;
import {deque} from '@aureooms/js-collections-deque' ;
```

0 comments on commit ee54240

Please sign in to comment.