UNPKG

offensive

Version:

Fast and boilerplate-free precondition checks for javascript.

21 lines (20 loc) 617 B
import Registry from '../../Registry'; import OfTypeAssertion from '../ofType'; declare module "../../Builder" { /** * @author Maciej Chałapuk (maciej@chalapuk.pl) */ interface AssertionBuilder<T> { aBoolean: OperatorBuilder<T>; Boolean: OperatorBuilder<T>; boolean: OperatorBuilder<T>; aBool: OperatorBuilder<T>; Bool: OperatorBuilder<T>; bool: OperatorBuilder<T>; } } export declare const instance: OfTypeAssertion<unknown>; /** * @author Maciej Chałapuk (maciej@chalapuk.pl) */ export declare function registerIn(registry: Registry): void;