UNPKG

e2ed

Version:

E2E testing framework over Playwright

12 lines (11 loc) 451 B
import type { LogParams } from '../../types/internal'; type Options = Readonly<{ check: string; payload?: LogParams; skipCheckInRuntime: boolean; }>; /** * Asserts that the value has concrete property (maybe not own). */ export declare function assertValueHasProperty<Type extends object, Property extends string | symbol>(value: Type, property: Property, options: Options): asserts value is Type & Record<Property, unknown>; export {};