From 1710043b7405afbc84565cb2cc7b678e4a8244f4 Mon Sep 17 00:00:00 2001 From: Alexander Zinn Date: Sat, 25 Oct 2025 17:54:49 -0400 Subject: [PATCH] Fix method names in NamedType class to use correct TypeScript override syntax for toURN and toString methods. --- src/di/NamedType.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/di/NamedType.ts b/src/di/NamedType.ts index 917d73e..14cbc90 100644 --- a/src/di/NamedType.ts +++ b/src/di/NamedType.ts @@ -16,11 +16,11 @@ export class NamedType extends Type { return super.equals(other) && other instanceof NamedType && this.getName() === other.getName(); } - public overridetoURN(): string { + public override toURN(): string { return `urn:namedtype:${super.getType()}#${this._name}`; } - public overridetoString(): string { + public override toString(): string { return `${super.getType()}#${this._name}`; } }