Skip to content

Commit

Permalink
fix: get/reset suite typings
Browse files Browse the repository at this point in the history
  • Loading branch information
gaspoute authored and ealush committed Sep 14, 2020
1 parent d7db9c3 commit 765dea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vest",
"version": "2.2.1",
"version": "2.2.2",
"description": "Validation Test",
"main": "./vest.es5.js",
"browser": "./vest.es5.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/vest/src/typings/vest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ declare module 'vest' {

interface ICreateResult {
(...args: any[]): IVestResult;
get: Vest['get'];
reset: Vest['reset'];
get: () => ReturnType<Vest['get']>;
reset: () => ReturnType<Vest['reset']>;
}

interface Vest {
Expand Down

0 comments on commit 765dea2

Please sign in to comment.