From b90da5cf82bd1894b759ee1f9cafcfd1bb62f5a2 Mon Sep 17 00:00:00 2001 From: Philipp Lentzen Date: Thu, 10 Oct 2024 13:34:19 +0200 Subject: [PATCH] docs(queue): fix mismatch between typings and jsdoc --- src/data-structures/queue/queue.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data-structures/queue/queue.ts b/src/data-structures/queue/queue.ts index bb06fcc..db71e13 100644 --- a/src/data-structures/queue/queue.ts +++ b/src/data-structures/queue/queue.ts @@ -142,9 +142,9 @@ export class Queue extends IterableElementBase` object. + * @returns Always returns true, indicating the element was successfully added. */ push(element: E): boolean { this.elements.push(element); @@ -176,7 +176,7 @@ export class Queue extends IterableElementBase extends IterableElementBase