bupkis
    Preparing search index...

    Interface $constructor<T, D>

    interface $constructor<T extends ZodTrait, D = T["_zod"]["def"]> {
        new $constructor(def: D): T;
        init(inst: T, def: D): asserts inst is T;
    }

    Type Parameters

    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • def: D

      Returns T

    Methods

    • Parameters

      • inst: T
      • def: D

      Returns asserts inst is T