X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fqueue.ts;h=ead4b6375388398483eda10abaaae50e2c779928;hb=02fd3265f178909511619be1593c3ff9774c8685;hp=e7c9dd11fc0332ccbba845e9bd663d4bc682c523;hpb=e102732c0e3966b81834b2c0bdd087eb051162ad;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 = []