-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature: TS declaration support #25
Conversation
@@ -98,9 +105,9 @@ | |||
"react-blockies": "^1.4.0", | |||
"react-display-name": "^0.2.3", | |||
"react-onclickout": "^2.0.8", | |||
"react-spring": "^7.2.11", | |||
"react-spring": "7.2.10", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version 7.2.11 not exist anymore, so was neeed rollback to resolve some conflict on types definition.
"recursive-copy": "^2.0.9", | ||
"use-inside": "^0.2.0" | ||
"use-inside": "https://github.com/aragon/use-inside#16f321e499d8f89e9b0fb0999e2d21db2b119bbf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On bundle api-extractor cannot found definition of use-inside on the last version published on npm, but on currenty master (referenced by commit for safety install), have the TS definitions updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works great.
It include automation to autogenerated typescript definitions and bundled on one single file to distribute together with the package.
Running
yarn build
will generate the type definition ondist/types/index.d.ts