import type { UnionToIntersection } from 'type-fest'; type UnionKeys = T extends T ? keyof T : never; type StrictUnionHelper = T extends any ? T & Partial, keyof T>, never>> : never; export type StrictUnion = StrictUnionHelper; type Indexify = T & Record; type AllUnionKeys = keyof UnionToIntersection<{ [K in keyof T]: undefined; }>; export type NonDiscriminatedUnion = { [K in AllUnionKeys & string]: Indexify[K]; }; export {}; //# sourceMappingURL=type-utils.d.ts.map