-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add TypeScript type definitions #12
base: master
Are you sure you want to change the base?
Conversation
@Tapppi this is useful, could this be merged and published? |
declare namespace AsyncExitHook { | ||
|
||
/** The callback to call when the event handling is finished. */ | ||
type AsycHookCallback = () => void; |
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.
Nit: typo here: should be AsyncHookCallback
. Use sites will also need to change.
Bump. This would be really great to have merged. |
FYI guys I have made a type definition for this package in the definitely typed repo since the author looks like they abandoned the package. You should now be able to install them with |
No description provided.