UNPKG

fast-check

Version:

Property based testing framework for JavaScript (like QuickCheck)

11 lines (10 loc) 308 B
/** * Error type produced whenever a precondition fails * @remarks Since 2.2.0 * @public */ export declare class PreconditionFailure extends Error { readonly interruptExecution: boolean; constructor(interruptExecution?: boolean); static isFailure(err: unknown): err is PreconditionFailure; }