// Type definitions for jest-json-schema 2.1 // Project: https://github.com/americanexpress/jest-json-schema#readme // Definitions by: Igor Korolev // Matt Scheurich // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.1 /// import * as ajv from 'ajv'; declare global { namespace jest { interface Matchers { toBeValidSchema(): R; toMatchSchema(schema: object): R; } } } export const matchers: jest.ExpectExtendMap; export function matchersWithOptions(options: ajv.Options, extendAjv?: (ajv: ajv.Ajv) => void): jest.ExpectExtendMap;