/** * @since 2.0.0-alpha * * @packageDocumentation */ /*! * @maddimathon/utility-typescript@2.0.0-beta.2 * @license MIT */ /** * Returns the keys that are optional in the give object type. * * @param T_Object Type with keys. * * @since 2.0.0-alpha */ export type KeysOptional = Exclude>; /** * Returns the keys that are required by the given object type. * * @param T_Object Type with keys. * * @since 2.0.0-alpha */ export type KeysRequired = { [_Key in keyof T_Object]-?: {} extends Pick ? never : _Key; }[keyof T_Object]; //# sourceMappingURL=keys.d.ts.map