UNPKG

@vitruvius-labs/ts-predicate

Version:
6 lines (5 loc) 217 B
import type { Nullable } from "./nullable.mjs"; type ObjectWithNullableProperty<O extends object, K extends string | symbol, T> = O & { [property in K]: Nullable<T>; }; export type { ObjectWithNullableProperty };