Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

larvanitis
Copy link

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.436% when pulling 1ab5d63 on larvanitis:patch-1 into 80e692c on Tapppi:master.

@central419
Copy link

@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;
Copy link

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.

@qwazwsx
Copy link

qwazwsx commented Mar 29, 2021

Bump. This would be really great to have merged.

@SpeedyCraftah
Copy link

SpeedyCraftah commented Jul 1, 2021

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 @types/async-exit-hook (I hated seeing no types considering I use this package quite a lot)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants