-
-
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
Improve Command typings #1758
Closed
Closed
Improve Command typings #1758
Commits on Jun 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c8629b8 - Browse repository at this point
Copy the full SHA c8629b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fcf574 - Browse repository at this point
Copy the full SHA 7fcf574View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9837001 - Browse repository at this point
Copy the full SHA 9837001View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9c62bb - Browse repository at this point
Copy the full SHA d9c62bbView commit details -
Simplify string argument type helpers
* Use multi-argument resolution for .arguments() only * Fix a bug that untyped arguments could be parsed as possibly undefined values even if they had non-undefined default values
Configuration menu - View commit details
-
Copy full SHA for 92e5e9f - Browse repository at this point
Copy the full SHA 92e5e9fView commit details -
Remove type helper default type requirements
These are already being checked in the overloads.
Configuration menu - View commit details
-
Copy full SHA for 6f26198 - Browse repository at this point
Copy the full SHA 6f26198View commit details -
Configuration menu - View commit details
-
Copy full SHA for 606d438 - Browse repository at this point
Copy the full SHA 606d438View commit details -
Remove "default type" arg of StringArguments
as it is always `undefined`
Configuration menu - View commit details
-
Copy full SHA for b79504e - Browse repository at this point
Copy the full SHA b79504eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcbe369 - Browse repository at this point
Copy the full SHA bcbe369View commit details
Commits on Jun 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f49deec - Browse repository at this point
Copy the full SHA f49deecView commit details -
Add Argument and Option generic type
Also fixes a bug in Option class that required properties with the value undefined were typed as optional properties
Configuration menu - View commit details
-
Copy full SHA for 3e1a608 - Browse repository at this point
Copy the full SHA 3e1a608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bfe45d - Browse repository at this point
Copy the full SHA 6bfe45dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 806422f - Browse repository at this point
Copy the full SHA 806422fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eac7d1e - Browse repository at this point
Copy the full SHA eac7d1eView commit details -
Allow .action callback type argument override
This is mainly for commands whose arguments and options can't be fully inferred like the global `program`
Configuration menu - View commit details
-
Copy full SHA for a47e0ef - Browse repository at this point
Copy the full SHA a47e0efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 364e04e - Browse repository at this point
Copy the full SHA 364e04eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5502907 - Browse repository at this point
Copy the full SHA 5502907View commit details -
Fix .command call related to .createCommand
Infer arguments only if `this['createCommand']` is not altered.
Configuration menu - View commit details
-
Copy full SHA for 9936b2d - Browse repository at this point
Copy the full SHA 9936b2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d137cc - Browse repository at this point
Copy the full SHA 1d137ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb2cda2 - Browse repository at this point
Copy the full SHA cb2cda2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4b3acd - Browse repository at this point
Copy the full SHA d4b3acdView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.