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 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-10-29 01:11:00 +00:00
1 parent 885de50625
commit 7d421847f5
1 file changed
-1
-1
View File
@@ -251,7 +251,6 @@ export class ModPortalGetAllRequest {
// Define the Response class inline
static Response = class ModPortalGetAllResponse {
declare ["constructor"]: typeof ModPortalGetAllResponse;
constructor(
public mods: Static<typeof ModPortalDetailsSchema>[],
) { }