-
Notifications
You must be signed in to change notification settings - Fork 41
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
Width option type differs from documentation #132
Comments
In theory, In practice, rollup creates The "fix" consistent with historical intent is probably to also exclude Edit: the extra suffix for definitions causes problems in yargs-parser too: yargs/yargs-parser#452 (comment) |
Why does this package even care about |
To be clear, my compatibility comment was about shipping types at all, not about (erroneously) making
This package implements the layout used by Shipping typings might not be a problem for |
Technical note. I just hit this myself when working on cliui, and think the typings for opts need a minor revisit if we do publish them. The factoring for esm support introduced some typing confusion as to whether the
Based on the internal implementation, both the opt argument and the width property can still be optional for the client. Side note: the deno code does not currently infer the window width, which could be improved as it is now available: https://deno.land/[email protected]?s=Deno.consoleSize |
The text was updated successfully, but these errors were encountered: