This commit is contained in:
2026-01-08 14:19:13 +00:00
parent 50dfed9adf
commit bc9c0fd717
@@ -32,7 +32,7 @@ export class ActionDefinition<
parseArgs(raw: unknown): FoundingArgs | null {
if (typeof raw !== 'object' || raw === null) return null;
const { nationName, nationType, colorType } = raw as any;
const { nationName, nationType, colorType } = raw as Record<string, unknown>;
if (typeof nationName !== 'string' || !nationName) return null;
if (typeof nationType !== 'string' || !nationType) return null;
if (typeof colorType !== 'number') return null;