Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Dean177/jest-to-match-shape-of
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean177 committed Jan 25, 2020
2 parents 83a2fae + a564316 commit 4f8ce37
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"contributors": [
{
"name": "skmdev",
"email": "[email protected]",
"url": "https://github.com/skmdev"
"name" : "skmdev",
"email" : "[email protected]",
"url" : "https://github.com/skmdev"
},
{
"name" : "Nidin Vinayakan",
"email" : "[email protected]",
"url" : "https://github.com/nidin"
}
],
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/toBeTypeOf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import MatcherUtils = jest.MatcherUtils

declare global {
namespace jest {
interface Matchers<R> {
interface Matchers<R, T> {
toBeTypeOf(expected: any): R, // tslint:disable-line:no-any
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/toMatchOneOf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import MatcherUtils = jest.MatcherUtils

declare global {
namespace jest {
interface Matchers<R> {
interface Matchers<R, T> {
toMatchOneOf(expected: Array<any>): R, // tslint:disable-line:no-any
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/toMatchShapeOf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import MatcherUtils = jest.MatcherUtils

declare global {
namespace jest {
interface Matchers<R> {
interface Matchers<R, T> {
toMatchShapeOf(expected: any): R, // tslint:disable-line:no-any
}
}
Expand Down

0 comments on commit 4f8ce37

Please sign in to comment.