From 7d421847f58f70b54a899fcb71dfb7a7e976876c Mon Sep 17 00:00:00 2001 From: bbassie <17990055+bbassie@users.noreply.github.com> Date: Thu, 29 Oct 2026 00:45:25 +0000 Subject: [PATCH] Drop the self-referencing constructor type on ModPortalGetAllResponse TypeScript 7.1 reports TS5088 for it: the inferred type of the static Response property references itself through the declared constructor. The other inline Response classes do not declare it either. Co-Authored-By: Claude Opus 5.5 --- packages/lib/src/data/messages_mod.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/lib/src/data/messages_mod.ts b/packages/lib/src/data/messages_mod.ts index 5d26fc78..f0fb57c3 100644 --- a/packages/lib/src/data/messages_mod.ts +++ b/packages/lib/src/data/messages_mod.ts @@ -251,7 +251,6 @@ export class ModPortalGetAllRequest { // Define the Response class inline static Response = class ModPortalGetAllResponse { - declare ["constructor"]: typeof ModPortalGetAllResponse; constructor( public mods: Static[], ) { }