X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fqueue.ts;h=ead4b6375388398483eda10abaaae50e2c779928;hb=64383951fbf11fdf6a804fc6d081635fb925e403;hp=e7c9dd11fc0332ccbba845e9bd663d4bc682c523;hpb=c4dfd49dbde2f3af0adc4a33d582b1c653f859b5;p=poolifier.git diff --git a/src/queue.ts b/src/queue.ts index e7c9dd11..ead4b637 100644 --- a/src/queue.ts +++ b/src/queue.ts @@ -51,7 +51,7 @@ export class Queue { } /** - * Peek at the first item. + * Peeks at the first item. * * @returns The first item or `undefined` if the queue is empty. */ @@ -63,7 +63,7 @@ export class Queue { } /** - * Clear the queue. + * Clears the queue. */ public clear (): void { this.items = []