type KeysOfType = { [K in keyof T]: T[K] extends U ? K : never; }[keyof T]; type RequiredKeys = Exclude>, undefined>; export type ExcludeOptionalProps = Pick>; export {}; //# sourceMappingURL=excludeOptionalProps.d.ts.map