UNPKG

345 BTypeScriptView Raw
1import { IOptionsErrorHandler } from './handler';
2import { AssertFunc } from './types';
3/**
4 * Creates an options-assert function that uses specified error handler.
5 */
6export declare function createAssert(errHandler: IOptionsErrorHandler): AssertFunc;
7/**
8 * Default options-assert function.
9 */
10export declare const assertOptions: AssertFunc;