Skip to content

Commit

Permalink
fix: fix docs formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxuum committed Dec 27, 2023
1 parent fe9663c commit d8d23e0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/client/dispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ export class ClientDispatcher extends BaseDispatcher {
return this.history;
}

/**
* Adds a {@link HistoryEntry} to the history.
*
* If the number of history entries would exceed the limit if it were added,
* the oldest history entry will be removed.
*
* @param entry - The history entry to add
*/
/**
* Adds a {@link HistoryEntry} to the history.
*
* If the number of history entries would exceed the limit if it were added,
* the oldest history entry will be removed.
*
* @param entry - The history entry to add
*/
addHistoryEntry(entry: HistoryEntry) {
if (this.history.size() >= this.maxHistoryLength) {
this.history.remove(0);
Expand Down

0 comments on commit d8d23e0

Please sign in to comment.