This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
Refactor export of type definitions #200
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Right now we are exporting the types that are used from the root of the library as
export { types }
, meaning that you can import them and use them as follows:From the perspective of shipping the types this makes very little sense, it also creates empty import statements which result in undefined values being exported in some bundlers.
This will have to be changed so the types are directly exported from the root package as follows:
Which will make it possible to import these types directly:
The text was updated successfully, but these errors were encountered: