Skip to content

Commit

Permalink
fix: type errors (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 authored Dec 6, 2024
1 parent 52584e5 commit c617d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class TimeoutError extends Error {
super(message);
}

get name(): string {
override get name(): string {
return "TimeoutError";
}
}
Expand Down Expand Up @@ -205,7 +205,7 @@ export class TreeBox<T> {

/** A special kind of tree box that handles logging with static text. */
export class LoggerTreeBox extends TreeBox<(...args: any[]) => void> {
getValue(): (...args: any[]) => void {
override getValue(): (...args: any[]) => void {
const innerValue = super.getValue();
return (...args: any[]) => {
return logger.logAboveStaticText(() => {
Expand Down

0 comments on commit c617d51

Please sign in to comment.