From a0de88256e3235921805bff0243ee43a79cf5b0d Mon Sep 17 00:00:00 2001 From: Daniel Jonathan Date: Sun, 21 Jul 2024 14:01:42 -0400 Subject: [PATCH] testing build --- src/behavioral/Command.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/behavioral/Command.ts b/src/behavioral/Command.ts index 0850fc0..d0e4b60 100644 --- a/src/behavioral/Command.ts +++ b/src/behavioral/Command.ts @@ -35,7 +35,7 @@ */ import { - Optional, + Optional, } from '@cosmicmind/foundationjs' export type Command = { @@ -62,29 +62,29 @@ export type HistoryStack = { } export class CommandHistory implements HistoryStack { - protected commands: Command[] + protected commands: Command[] - constructor() { - this.commands = [] - } + constructor() { + this.commands = [] + } - /** + /** * Adds a command to the commands array. * * @param {Command} command - The command to be added. * * @return {void} */ - push(command: Command): void { - this.commands.push(command) - } + push(command: Command): void { + this.commands.push(command) + } - /** + /** * Removes and returns the last command from the list of commands. * * @returns {Optional} The last command, or undefined if the list is empty. */ - pop(): Optional { - return this.commands.pop() - } + pop(): Optional { + return this.commands.pop() + } } \ No newline at end of file