From a90aeb3d8fd05fc6303ce9ef4e957c2e19cbe9c4 Mon Sep 17 00:00:00 2001 From: Richie Foreman Date: Wed, 13 Aug 2025 16:17:38 -0400 Subject: chore(build/compiler): Enable a bunch of strict TS compiler options. (#6138) --- packages/core/src/tools/tools.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'packages/core/src/tools/tools.ts') diff --git a/packages/core/src/tools/tools.ts b/packages/core/src/tools/tools.ts index 3e7d0647..00f2a842 100644 --- a/packages/core/src/tools/tools.ts +++ b/packages/core/src/tools/tools.ts @@ -284,13 +284,13 @@ export abstract class BaseTool< * @param parameterSchema JSON Schema defining the parameters */ constructor( - readonly name: string, - readonly displayName: string, - readonly description: string, - readonly kind: Kind, - readonly parameterSchema: unknown, - readonly isOutputMarkdown: boolean = true, - readonly canUpdateOutput: boolean = false, + override readonly name: string, + override readonly displayName: string, + override readonly description: string, + override readonly kind: Kind, + override readonly parameterSchema: unknown, + override readonly isOutputMarkdown: boolean = true, + override readonly canUpdateOutput: boolean = false, ) { super( name, @@ -320,7 +320,7 @@ export abstract class BaseTool< * @returns An error message string if invalid, null otherwise */ // eslint-disable-next-line @typescript-eslint/no-unused-vars - validateToolParams(params: TParams): string | null { + override validateToolParams(params: TParams): string | null { // Implementation would typically use a JSON Schema validator // This is a placeholder that should be implemented by derived classes return null; -- cgit v1.2.3