UNPKG

@vitruvius-labs/ts-predicate

Version:
5 lines (4 loc) 143 B
type ObjectWithProperty<O extends object, K extends string | symbol, T> = O & { [property in K]: T; }; export type { ObjectWithProperty };