Sha256: 2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d
Contents?: true
Size: 704 Bytes
Versions: 26
Compression:
Stored size: 704 Bytes
Contents
interface Result { name: "AssertionError" | "AssertionResult"; ok: boolean; toJSON(...args: unknown[]): Record<string, unknown>; } declare class AssertionError<T> extends Error implements Result { [key: string]: unknown name: "AssertionError"; ok: false; message: string; // deno-lint-ignore ban-types constructor(message: string, props?: T, ssf?: Function); stack: string; toJSON(stack?: boolean): Record<string, unknown>; } declare class AssertionResult<T> implements Result { [key: string]: unknown name: "AssertionResult"; ok: true; message: string; constructor(props?: T); toJSON(): Record<string, unknown>; } export { AssertionError, AssertionResult, Result };
Version data entries
26 entries across 26 versions & 1 rubygems