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
[yargs] Added strictOptions typing #48657
Conversation
@Vboivin Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause this is a widely-used package, a DT maintainer will need to review it before it can be merged. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 48657,
"author": "Vboivin",
"owners": [
"poelstra",
"mizunashi-mana",
"pushplay",
"JimiC",
"steffenvv",
"forivall",
"ExE-Boss",
"Aankhen"
],
"dangerLevel": "ScopedAndTested",
"headCommitAbbrOid": "9e6ae58",
"headCommitOid": "9e6ae58a0182cdfa22cd2e2bcb192a815e685e2f",
"mergeIsRequested": false,
"stalenessInDays": 4,
"lastPushDate": "2020-10-09T19:24:54.000Z",
"lastCommentDate": "2020-10-09T19:24:54.000Z",
"maintainerBlessed": false,
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/48657/files",
"hasMergeConflict": false,
"authorIsOwner": false,
"isFirstContribution": true,
"popularityLevel": "Critical",
"newPackages": [],
"packages": [
"yargs"
],
"files": [
{
"path": "types/yargs/index.d.ts",
"kind": "definition",
"package": "yargs"
},
{
"path": "types/yargs/yargs-tests.ts",
"kind": "test",
"package": "yargs"
}
],
"hasDismissedReview": false,
"ciResult": "pass",
"lastReviewDate": "2020-10-10T20:13:21.000Z",
"reviewersWithStaleReviews": [],
"approvalFlags": 2,
"isChangesRequested": false
} |
🔔 @poelstra @mizunashi-mana @pushplay @JimiC @steffenvv @forivall @ExE-Boss @Aankhen — 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I just published |
This reverts commit 065fb70. strictOptions is a v16 only feature
Fix part of #47879
Please fill in this template.
npm test YOUR_PACKAGE_NAME
.)npm run lint package-name
(ortsc
if notslint.json
is present).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.