diff --git a/src/jsonifiable/makeJsonifiableSchemableClass.ts b/src/jsonifiable/makeJsonifiableSchemableClass.ts index 020d658..691a3f2 100644 --- a/src/jsonifiable/makeJsonifiableSchemableClass.ts +++ b/src/jsonifiable/makeJsonifiableSchemableClass.ts @@ -115,8 +115,8 @@ export function makeJsonifiableSchemableClass< } as unknown as ( Class< InstanceType & { - readonly jsonifySchema: typeof jsonifySchema, - readonly dejsonifySchema: typeof dejsonifySchema, + readonly jsonifySchema: z.ZodObject, + readonly dejsonifySchema: z.ZodObject, jsonify(): JsonifiedValues jsonifyPromise(): Promise @@ -127,8 +127,8 @@ export function makeJsonifiableSchemableClass< > & StaticMembers & { - readonly jsonifySchema: typeof jsonifySchema, - readonly dejsonifySchema: typeof dejsonifySchema, + readonly jsonifySchema: z.ZodObject, + readonly dejsonifySchema: z.ZodObject, } ) }