/** * Copyright 2022 Gravwell, Inc. All rights reserved. * * Contact: [legal@gravwell.io](mailto:legal@gravwell.io) * * This software may be modified and distributed under the terms of the MIT * license. See the LICENSE file for details. */ export type FilterKeys = { [P in keyof O]: Contains extends true ? P : never }[keyof O]; export type Contains = B extends Extract ? true : false; export type PartialProps = Omit & { [P in K]?: T[P] }; export type ConditionalPartial = PartialProps>;