mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Update Optional argument of push method
This commit is contained in:
parent
e95a4f0f1f
commit
425ddf9e29
1
types/redux-form/index.d.ts
vendored
1
types/redux-form/index.d.ts
vendored
@ -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 {
|
||||
|
||||
2
types/redux-form/lib/FieldArray.d.ts
vendored
2
types/redux-form/lib/FieldArray.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user