-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Export Execa
and ExecaScript
types.
#1062
Comments
Merged
Hi @Shakeskeyboarde, Great point. I have created a PR at #1066 to add those new types. |
This was released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The "currying" capability built-in to
execa()
and$
are nice, but I would like to be able to correctly type curried return values.For example...
The type error is...
Instead of using
typeof execa
, it would be great to useExeca<Options & { encoding: "buffer" }>
(or similar), but that's not possible because theExeca
type is not exported. And the same goes forExecaScript
.The text was updated successfully, but these errors were encountered: