Extracts a variant from a data enum without its discriminator.
type WebPageEvent = | { __kind: 'pageview', url: string } | { __kind: 'click', x: number, y: number };type ClickEvent = GetDataEnumKindContent<WebPageEvent, 'click'>;// -> { x: number, y: number }
Generated using TypeDoc
Extracts a variant from a data enum without its discriminator.
Example