Skip to content

Typescript error for FieldArrayProps #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
davincho opened this issue Jan 16, 2018 · 1 comment
Closed

Typescript error for FieldArrayProps #17

davincho opened this issue Jan 16, 2018 · 1 comment

Comments

@davincho
Copy link

Are you submitting a bug report or a feature request?

bug report

What is the current behavior?

FieldArrayProps is included from final-form and throws an error

/node_modules/final-form/dist/index has no exported member 'FieldArrayProps'  

import { FieldArrayProps } from 'final-form'

What is the expected behavior?

Should not throw Typescript exception, but it looks like FieldArrayProps does not exist in https://github.com/final-form/final-form/blob/master/src/index.d.ts

@rosskevin
Copy link
Contributor

I'll take a shot at this one @erikras and add some tests. If you can fix the build issue final-form/final-form-arrays#7 that will be helpful.

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

No branches or pull requests

2 participants