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
Please export YargsInstance
from deno.ts
as well
#2391
Labels
Comments
Related: #1799 In node, the TypeScript types are supplied by Definitely Typed and maintained separately. I don't know if you can make use of those from Deno. |
I think deno just treats them as two separate modules. It natively imports typescript files so whatever is in that file is what it interprets. |
Here is an example usage for reference: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I keep needing this type when implementing commands, as this is the type of the argument supplied to the command builder.
Also, it would be really helpful if the types in
deno-types.ts
were also exported fromdeno.ts
as well.What I am doing now:
Ideally, from a Deno users perspective the I think it would be nice if they all came out of a single import:
The text was updated successfully, but these errors were encountered: