Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#33798 from mrsekut/redux-form-mark…
Browse files Browse the repository at this point in the history
…ut-patch

[redux-form] Update Optional argument of push method
  • Loading branch information
sheetalkamat authored Mar 21, 2019
2 parents f2715c0 + 425ddf9 commit 24778ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions types/redux-form/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// Mohamed Shaaban <https://github.com/mshaaban088>
// Ethan Setnik <https://github.com/esetnik>
// Walter Barbagallo <https://github.com/bwlt>
// Kota Marusue <https://github.com/mrsekut>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
import {
Expand Down
2 changes: 1 addition & 1 deletion types/redux-form/lib/FieldArray.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface FieldArrayFieldsProps<FieldValue> {
length: number;
map<R>(callback: FieldIterate<FieldValue, R>): R[];
pop(): FieldValue;
push(value: FieldValue): void;
push(value?: FieldValue): void;
remove(index: number): void;
shift(): FieldValue;
swap(indexA: number, indexB: number): void;
Expand Down

0 comments on commit 24778ee

Please sign in to comment.