-
-
Notifications
You must be signed in to change notification settings - Fork 2
Exploration #629
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
base: main
Are you sure you want to change the base?
Exploration #629
Conversation
This function converts callback based functions into Effects. The Node types on DefinitelyTyped use a trick where they export a namespace for each function, defining multiple __promisify__ functions (one for each overload). This is then used inside the official promisify types. This implementation leverages the same types used by the promisify types to preserve all the overload data.
seems like Parameters only picks the first overload of __promisify__
|
No description provided.