Open
Description
Suggestion:
I would like to use this library in a typescript project. I tried to type the index.js file, but I couldn't find a way to express the export definitions in typescript. So I changed the index.js file, but this would be a breaking change in the API.
In addition I exported the react component with the existing typings and referenced the types in the package.json.
Please let me know if you would accept a pull request, which introduces breaking changes or if you have any idea how to correctly type index.js.
My reason:
I would like to use this library with typescript.
Steps to reproduce:
Check the changes in the fork. https://github.com/daugsbi/react-data-export
Metadata
Metadata
Assignees
Labels
No labels