-
Notifications
You must be signed in to change notification settings - Fork 30.5k
test(es‑abstract/GetIntrinsic): Use expectType function
#47049
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
test(es‑abstract/GetIntrinsic): Use expectType function
#47049
Conversation
|
@ExE-Boss Thank you for submitting this PR! This is a live comment which I will keep updated. 1 package in this PRCode 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": 47049,
"author": "ExE-Boss",
"owners": [
"ljharb",
"ExE-Boss"
],
"dangerLevel": "ScopedAndTested",
"headCommitAbbrOid": "cbd2e60",
"headCommitOid": "cbd2e60c69263f5ff2052d632d409bcb4d820f27",
"mergeIsRequested": true,
"stalenessInDays": 0,
"lastPushDate": "2020-08-26T11:11:21.000Z",
"lastCommentDate": "2020-08-26T20:04:10.000Z",
"maintainerBlessed": false,
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/47049/files",
"hasMergeConflict": false,
"authorIsOwner": true,
"isFirstContribution": false,
"popularityLevel": "Popular",
"newPackages": [],
"packages": [
"es-abstract"
],
"files": [
{
"path": "types/es-abstract/test/GetIntrinsic.test.ts",
"kind": "test",
"package": "es-abstract"
}
],
"hasDismissedReview": false,
"ciResult": "pass",
"lastReviewDate": "2020-08-26T18:27:09.000Z",
"reviewersWithStaleReviews": [],
"approvalFlags": 2,
"isChangesRequested": false
} |
|
🔔 @ljharb — please review this PR in the next few days. Be sure to explicitly select |
|
Ready to merge |
…`expectType` function by @ExE-Boss
…`expectType` function by @ExE-Boss
This updates
GetIntrinsic.test.tsto use theexpectTypefunction where the expected type could change in the future (e.g.: microsoft/TypeScript#40231).Please fill in this template.
npm test.)npm run lint package-name(ortscif notslint.jsonis present).If changing an existing definition:
tslint.jsoncontaining{ "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.review?(@rbuckton)