internal.DiscriminateUnion
Home > @backstage/backend-openapi-utils
> internal
> DiscriminateUnion
Signature:
export type DiscriminateUnion<T, K extends keyof T, V extends T[K]> = Extract<T, Record<K, V>>;
Home > @backstage/backend-openapi-utils
> internal
> DiscriminateUnion
Signature:
export type DiscriminateUnion<T, K extends keyof T, V extends T[K]> = Extract<T, Record<K, V>>;