Skip to content

Commit 2d97eac

Browse files
committed
Update readme
1 parent 1de43df commit 2d97eac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ yarn add p-queue-ts
2828

2929
The `priority queue` lib uses max heap as a default way to build a queue.
3030

31+
```ts
32+
import { PriorityQueue } from 'p-queue-ts';
33+
```
34+
3135
**Max priority queue**
3236

3337
_with array of numbers_

0 commit comments

Comments
 (0)