-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
fix(yargs-interactive): Extend Interactive interface with yargs.Argv interface #45831
fix(yargs-interactive): Extend Interactive interface with yargs.Argv interface #45831
Conversation
@nanovazquez Thank you for submitting this PR! This is a live comment which I will keep updated. Code ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. InactiveThis PR has been inactive for 10 days — waiting for a DT maintainer! Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 45831,
"author": "nanovazquez",
"owners": [
"szeck87",
"nanovazquez"
],
"dangerLevel": "ScopedAndTested",
"headCommitAbbrOid": "960ea16",
"headCommitOid": "960ea16f5cd460f5e76e7131bfdf92ee606993a2",
"mergeIsRequested": false,
"stalenessInDays": 10,
"lastPushDate": "2020-07-01T19:48:55.000Z",
"lastCommentDate": "2020-07-01T19:48:55.000Z",
"maintainerBlessed": false,
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45831/files",
"hasMergeConflict": false,
"authorIsOwner": true,
"isFirstContribution": false,
"popularityLevel": "Well-liked by everyone",
"anyPackageIsNew": false,
"packages": [
"yargs-interactive"
],
"files": [
{
"path": "types/yargs-interactive/index.d.ts",
"kind": "definition",
"package": "yargs-interactive"
},
{
"path": "types/yargs-interactive/yargs-interactive-tests.ts",
"kind": "test",
"package": "yargs-interactive"
}
],
"hasDismissedReview": false,
"ciResult": "pass",
"reviewersWithStaleReviews": [],
"approvalFlags": 0,
"isChangesRequested": false
} |
🔔 @szeck87 — please review this PR in the next few days. Be sure to explicitly select |
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
This PR adds missing types to the yargs interactive
Interactive
interface. Since this library is an extension of yargs, its interface has to extend from it.Please fill in this template.
npm test
.)npm run lint package-name
(ortsc
if notslint.json
is present).Select one of these and delete the others:
If adding a new definition:
.d.ts
files generated via--declaration
dts-gen --dt
, not by basing it on an existing project.tslint.json
should be present and it shouldn't have any additional or disabling of rules. Just content as{ "extends": "dtslint/dt.json" }
. If for reason the some rule need to be disabled, disable it for that line using// tslint:disable-next-line [ruleName]
and not for whole package so that the need for disabling can be reviewed.tsconfig.json
should havenoImplicitAny
,noImplicitThis
,strictNullChecks
, andstrictFunctionTypes
set totrue
.If changing an existing definition:
tslint.json
containing{ "extends": "dtslint/dt.json" }
. If for reason the any rule need to be disabled, disable it for that line using// tslint:disable-next-line [ruleName]
and not for whole package so that the need for disabling can be reviewed.If removing a declaration:
notNeededPackages.json
.