jamespot-user-api
    Preparing search index...

    Function inferMaybeWithToken

    • Type Parameters

      • T extends ZodType<any, ZodTypeDef, any>

      Parameters

      • type: T

      Returns ZodIntersection<
          T,
          ZodObject<
              { token: ZodOptional<ZodUnion<[ZodString, ZodUndefined]>> },
              "strip",
              ZodTypeAny,
              { token?: string },
              { token?: string },
          >,
      >