assert.d.ts 345 B

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