From c617d5140457221e0de8a09c47e218609f6f405f Mon Sep 17 00:00:00 2001 From: scarf Date: Sat, 7 Dec 2024 00:55:06 +0900 Subject: [PATCH] fix: type errors (#295) --- src/common.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common.ts b/src/common.ts index 94b5bd2..c83c27d 100644 --- a/src/common.ts +++ b/src/common.ts @@ -47,7 +47,7 @@ export class TimeoutError extends Error { super(message); } - get name(): string { + override get name(): string { return "TimeoutError"; } } @@ -205,7 +205,7 @@ export class TreeBox { /** 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(() => {