Temporal Utils by Ian Macalinao
    Preparing search index...

    Type Alias ZodTemporal<TClass>

    ZodTemporal: z.ZodType<InstanceType<TClass>, InstanceType<TClass> | string>

    A Zod validator for a Temporal class which also parses string inputs.

    Type Parameters

    • TClass extends typeof Class & { from: (arg: string) => InstanceType<TClass> }