Add types for commander-remaining-args#36148
Add types for commander-remaining-args#36148DanielRosenwasser merged 1 commit intoDefinitelyTyped:masterfrom ffflorian:commander-remaining-args
Conversation
|
👋 Hi there! I’ve run some quick performance metrics against master and your PR. This is still an experiment, so don’t panic if I say something crazy! I’m still learning how to interpret these metrics. Let’s review the numbers, shall we? These typings are for a package that doesn’t yet exist on master, so I don’t have anything to compare against yet! In the future, I’ll be able to compare PRs to commander-remaining-args with its source on master. Comparison details 📊
If you have any questions or comments about me, you can ping |
|
@sandersn seems like |
|
@ffflorian Thank you for submitting this PR! Because this is a new definition, a DefinitelyTyped maintainer will be reviewing this PR in the next few days once the Travis CI build passes. In the meantime, if the build fails or a merge conflict occurs, I'll let you know. Have a nice day! |
|
@ffflorian The Travis CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! |
|
@ffflorian that is a Typescript crash! I'll try to repro locally and figure out which version of typescript crashes and why. Then I'll try to find a workaround for this PR. |
|
The crash is fixed in 2.2 onwards. Add the line |
|
For the error that shows up afterward, you'll need a package.json that references commander since it ships its own types. |
|
@ffflorian The Travis CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! |
|
Thank you @sandersn, I created a PR for that: |
|
@ffflorian I haven't seen anything from you in a while and this PR currently has problems that prevent it from being merged. The PR will be closed tomorrow if there aren't new commits to fix the issues. |
|
@sandersn could you please approve or request changes on microsoft/types-publisher#623? |
|
Updated numbers for you here from 1744bbf: These typings are for a package that doesn’t yet exist on master, so I don’t have anything to compare against yet! In the future, I’ll be able to compare PRs to commander-remaining-args with its source on master. Comparison details 📊
|
|
I just published |
Please fill in this template.
npm test.)npm run lint package-name(ortscif notslint.jsonis present).Select one of these and delete the others:
If adding a new definition:
.d.tsfiles generated via--declarationdts-gen --dt, not by basing it on an existing project.tslint.jsonshould be present, andtsconfig.jsonshould havenoImplicitAny,noImplicitThis,strictNullChecks, andstrictFunctionTypesset totrue.