Skip to content

Add generic for value types#54

Open
nielsdB97 wants to merge 1 commit into
final-form:masterfrom
nielsdB97:patch-1
Open

Add generic for value types#54
nielsdB97 wants to merge 1 commit into
final-form:masterfrom
nielsdB97:patch-1

Conversation

@nielsdB97

@nielsdB97 nielsdB97 commented Dec 22, 2021

Copy link
Copy Markdown

In order to be able to add specific TypeScript types for the fields and values, I have added generics.
Currently TypeScript will complain:

Property "test" doesn't exist on type "Object".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant