UNPKG

type-plus

Version:
3 lines 205 B
import type { UnionKeys } from '../union_keys.js'; export declare function hasProperty<T, P extends UnionKeys<T>>(value: T, prop: P): value is T & Record<P, T[P]>; //# sourceMappingURL=hasProperty.d.ts.map