Type Alias TOmitResolve<Properties, PropertyKeys>

TOmitResolve<Properties, PropertyKeys>: Properties extends TRecursive<infer Types extends TSchema>
    ? TRecursive<TOmitResolve<Types, PropertyKeys>>
    : Properties extends TIntersect<infer Types extends TSchema[]>
        ? TIntersect<TFromIntersect<Types, PropertyKeys>>
        : Properties extends TUnion<infer Types extends TSchema[]>
            ? TUnion<TFromUnion<Types, PropertyKeys>>
            : Properties extends TObject<infer Types extends TProperties>
                ? TFromObject<TObject<Types>, PropertyKeys>
                : TObject<{}>

Type Parameters

  • Properties extends TProperties
  • PropertyKeys extends PropertyKey[]