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