-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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 polka-express compatibility types #45060
Conversation
@pkuczynski Thank you for submitting this PR! 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
All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 45060,
"author": "pkuczynski",
"owners": [
"pkuczynski",
"JamesMessinger"
],
"dangerLevel": "ScopedAndTested",
"headCommitAbbrOid": "2c068e1",
"headCommitOid": "2c068e1c903fd615cee1f6a6abab835106c8443c",
"mergeIsRequested": true,
"stalenessInDays": 13,
"lastCommitDate": "2020-05-26T11:19:19.000Z",
"lastCommentDate": "2020-06-08T18:48:03.000Z",
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45060/files",
"hasMergeConflict": false,
"authorIsOwner": true,
"isFirstContribution": false,
"popularityLevel": "Well-liked by everyone",
"anyPackageIsNew": false,
"packages": [
"polka"
],
"files": [
{
"filePath": "types/polka/index.d.ts",
"kind": "definition",
"package": "polka"
},
{
"filePath": "types/polka/polka-tests.ts",
"kind": "test",
"package": "polka"
}
],
"hasDismissedReview": false,
"ciResult": "pass",
"lastReviewDate": "2020-06-08T18:20:39.000Z",
"reviewersWithStaleReviews": [],
"approvalFlags": 4,
"isChangesRequested": false
} |
🔔 @JamesMessinger - please review this PR in the next few days. Be sure to explicitly select |
Polka does not rely on |
👋 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?
Looks like there were a couple significant differences—take a look at worst-case duration for getting completions at a position and worst-case duration for getting quick info at a position to make sure everything looks ok. |
I'm going to approve it, which moves the ball for merging back into your count @pkuczynski - but those perf results are a little worrying |
@pkuczynski Everything looks good here. Great job! I am ready to merge this PR on your behalf. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ |
Ready to merge |
…s by @pkuczynski * Add more tests to polka * Fix polka-express compatibility types * Fix lint * Fix lint
…s by @pkuczynski * Add more tests to polka * Fix polka-express compatibility types * Fix lint * Fix lint
Please fill in this template.
npm test
.)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.