0.1.1 #2
@@ -115,8 +115,8 @@ export function makeJsonifiableSchemableClass<
|
|||||||
} as unknown as (
|
} as unknown as (
|
||||||
Class<
|
Class<
|
||||||
InstanceType<C> & {
|
InstanceType<C> & {
|
||||||
readonly jsonifySchema: typeof jsonifySchema,
|
readonly jsonifySchema: z.ZodObject<JsonifySchemaT, JsonifySchemaUnknownKeys, JsonifySchemaCatchall, JsonifiedValues, Values>,
|
||||||
readonly dejsonifySchema: typeof dejsonifySchema,
|
readonly dejsonifySchema: z.ZodObject<DejsonifySchemaT, DejsonifySchemaUnknownKeys, DejsonifySchemaCatchall, Values, JsonifiedValues>,
|
||||||
|
|
||||||
jsonify(): JsonifiedValues
|
jsonify(): JsonifiedValues
|
||||||
jsonifyPromise(): Promise<JsonifiedValues>
|
jsonifyPromise(): Promise<JsonifiedValues>
|
||||||
@@ -127,8 +127,8 @@ export function makeJsonifiableSchemableClass<
|
|||||||
> &
|
> &
|
||||||
|
|
||||||
StaticMembers<C> & {
|
StaticMembers<C> & {
|
||||||
readonly jsonifySchema: typeof jsonifySchema,
|
readonly jsonifySchema: z.ZodObject<JsonifySchemaT, JsonifySchemaUnknownKeys, JsonifySchemaCatchall, JsonifiedValues, Values>,
|
||||||
readonly dejsonifySchema: typeof dejsonifySchema,
|
readonly dejsonifySchema: z.ZodObject<DejsonifySchemaT, DejsonifySchemaUnknownKeys, DejsonifySchemaCatchall, Values, JsonifiedValues>,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user