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

better types for parsed arguments object #291

Closed
bcoe opened this issue Jul 18, 2020 · 1 comment
Closed

better types for parsed arguments object #291

bcoe opened this issue Jul 18, 2020 · 1 comment
Assignees

Comments

@bcoe
Copy link
Member

bcoe commented Jul 18, 2020

In the new TypeScript conversion, the object returned by yargs() has no type information. If possible, it would be cool if we could introduce types, based on the config object and generics.

Refs: #285

@bcoe bcoe assigned bcoe and QmarkC Jul 18, 2020
@bcoe bcoe closed this as completed Aug 9, 2020
@bcoe
Copy link
Member Author

bcoe commented Aug 9, 2020

I'm not convinced we need type definitions this complex, based on conversations we've been having on the yargs project itself.

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

No branches or pull requests

2 participants