build: log husky warnings on the console
[poolifier.git] / src / deque.ts
index 0d55f5b665115b3c5efc2580fcdb56562926b340..52441a3ec25f4f7251575104a0884f9ffeb22d00 100644 (file)
@@ -35,7 +35,7 @@ export class Deque<T> {
    * Appends data to the deque.
    *
    * @param data - Data to append.
-   * @returns The new size of the queue.
+   * @returns The new size of the deque.
    */
   public push (data: T): number {
     const node: ILinkedListNode<T> = { data }
@@ -52,7 +52,7 @@ export class Deque<T> {
    * Prepends data to the deque.
    *
    * @param data - Data to prepend.
-   * @returns The new size of the queue.
+   * @returns The new size of the deque.
    */
   public unshift (data: T): number {
     const node: ILinkedListNode<T> = { data }