fix: add explicit return type

This commit is contained in:
P. Reis 2025-03-11 11:49:39 -03:00
parent a002b1a005
commit dc711bce6a

View file

@ -1,6 +1,13 @@
import { z } from 'zod'; import { z } from 'zod';
export const proofSchema = z.object({ export const proofSchema: z.ZodType<{
id: string;
amount: number;
secret: string;
C: string;
dleq?: { s: string; e: string; r?: string };
dleqValid?: boolean;
}> = z.object({
id: z.string(), id: z.string(),
amount: z.number(), amount: z.number(),
secret: z.string(), secret: z.string(),