DefinitelyTyped/types/jest-matcher-one-of/index.d.ts
Joe 8e022c857b Add typings for jest-matcher-one-of (#39111)
* add jest-matcher-one-of typings

* fixed linting error for jest-matcher-one-of
2019-10-15 15:20:10 -07:00

13 lines
404 B
TypeScript

// Type definitions for jest-matcher-one-of 1.0
// Project: https://github.com/d4nyll/jest-matcher-one-of#readme
// Definitions by: Joe Mitchard <https://github.com/joemitchard>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
/// <reference types="jest" />
declare namespace jest {
interface Matchers<R> {
toBeOneOf(expected: any[]): R;
}
}