-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TypeScript definitions missing Option.envVar #1972
Comments
Same with Update: Oh, I see there is |
In
are all explicitly marked as private in JSDoc despite having no underscores in their names. Historical reasons, I guess? |
Yes indeed. I did add an issue about renaming those, but decided to minimise breakages and leave them alone: #1104 |
The TypeScript has never had 1:1 match with properties visible from JavaScript, but adding them as needed, and intend to usually add them for new properties. (The dual purpose getter/setter does at least reduce the number of properties exposed, much as I dislike the overload on return type!) |
Shipped in Commander v11.1.0 |
Option.envVar
is a public property of the JavaScript class.The
index.d.ts
TypeScript definition is missing theenvVar
property for theOption
class.(Raised in #1971)
The text was updated successfully, but these errors were encountered: