react-final-form-hooks icon indicating copy to clipboard operation
react-final-form-hooks copied to clipboard

Any *.d.ts files are not exported

Open kunimitaiyoh opened this issue 6 years ago • 1 comments

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.

kunimitaiyoh avatar Jan 03 '19 13:01 kunimitaiyoh

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

See also #21

avocadowastaken avatar Jan 31 '19 19:01 avocadowastaken