Skip to content

Commit

Permalink
patch(vest): add "remove" type, fix typo (ealush#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakkomajuri authored and ealush committed May 11, 2021
1 parent 2e9c7dc commit 74cb2d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vest/src/core/produce/__tests__/produce.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ describe('module: produce', () => {
});
});

describe('produce cache (integragion)', () => {
describe('produce cache (integration)', () => {
describe('sync', () => {
const control = jest.fn();
let draft;
Expand Down
1 change: 1 addition & 0 deletions packages/vest/src/typings/vest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ interface ICreateResult {
(...args: any[]): IVestResult;
get: () => DraftResult;
reset: () => void;
remove: (fieldName: string) => void;
}

declare namespace vest {
Expand Down

0 comments on commit 74cb2d6

Please sign in to comment.