Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Commit

Permalink
Add in Queue.clone
Browse files Browse the repository at this point in the history
  • Loading branch information
Noel committed Dec 31, 2020
1 parent 08560e2 commit 555b7c6
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 386 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,11 @@ declare module '@augu/collections' {
*/
includes(key: T): boolean;

/**
* Clones a new [[Queue]] instance with the items available
*/
clone(): this;

[Symbol.iterator](): IteratorResult<T>;
}
}
Expand Down
Loading

0 comments on commit 555b7c6

Please sign in to comment.