final-form / react-final-form-hooks

React Hooks to bind to 🏁 Final Form's high performance subscription-based form state management engine
MIT License
471 stars 19 forks source link

Any *.d.ts files are not exported #12

Open kunimitaiyoh opened 5 years ago

kunimitaiyoh commented 5 years ago

Delighted.

Does react-final-form-hooks support TypeScript?

It seems that any type definition files for TypeScript (*.d.ts) are not exported in node_modules/react-final-form-hooks/dist when I introduced react-final-form-hooks from npm, although it exists in the original repository of react-final-form-hooks. Because of this, items of react-final-form-hooks could not be imported on a TypeScript project.

Thank you.

avocadowastaken commented 5 years ago

It was fixed in 1.0.0-alpha.2, try to install with next tag: react-final-form-hooks@next.

See also #21