René's URL Explorer Experiment


Title: Apply contextual type to empty array literals by RyanCavanaugh · Pull Request #47898 · microsoft/TypeScript · GitHub

Open Graph Title: Apply contextual type to empty array literals by RyanCavanaugh · Pull Request #47898 · microsoft/TypeScript

X Title: Apply contextual type to empty array literals by RyanCavanaugh · Pull Request #47898 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Apply contextual type to empty array literals by RyanCavanaugh · Pull Request #47898 · microsoft/TypeScript

Open Graph Description: Just an experiment

X Description: Just an experiment

Opengraph URL: https://github.com/microsoft/TypeScript/pull/47898

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:02b44d86-83f6-b22a-a9ba-0412346a8880
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9EDA:50919:6B84F9B:96C245F:6A4FC2CA
html-safe-nonce6ac09a359730ef12459049b1a33fcb2635ef192c894c05b728713f64b439a6f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RURBOjUwOTE5OjZCODRGOUI6OTZDMjQ1Rjo2QTRGQzJDQSIsInZpc2l0b3JfaWQiOiI3MTEwMDQzMzI3Nzg1ODQ1NDUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca8f8e987a8ad9d8ca1e0a4505f29d277aa25a9fe15401128ff1f062076947443
hovercard-subject-tagpull_request:852598382
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/47898/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a787c901e1c09ed926c8552527b2960cdcd455e555d8b32afab6d74e1ddb8578/microsoft/TypeScript/pull/47898
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a787c901e1c09ed926c8552527b2960cdcd455e555d8b32afab6d74e1ddb8578/microsoft/TypeScript/pull/47898
og:image:altJust an experiment
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRyanCavanaugh
hostnamegithub.com
expected-hostnamegithub.com
None7d8f8209b188a80e19a6957836ab9229715797be5db1a04163963c674ccc33f6
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseea848e83cf3bf3613dd7b13d52965a684fd23ec5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/47898#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47898
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47898
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/47898
Reloadhttps://github.com/microsoft/TypeScript/pull/47898
Reloadhttps://github.com/microsoft/TypeScript/pull/47898
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.5k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 33 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality 0 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Code https://github.com/microsoft/TypeScript
Issues https://github.com/microsoft/TypeScript/issues
Pull requests https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
RyanCavanaughhttps://github.com/RyanCavanaugh
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
RyanCavanaugh:ctEmptyArrayhttps://github.com/RyanCavanaugh/TypeScript/tree/ctEmptyArray
Conversationhttps://github.com/microsoft/TypeScript/pull/47898
Commits3 (3)https://github.com/microsoft/TypeScript/pull/47898/commits
Checkshttps://github.com/microsoft/TypeScript/pull/47898/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/47898/files
Apply contextual type to empty array literalshttps://github.com/microsoft/TypeScript/pull/47898#top
RyanCavanaughhttps://github.com/RyanCavanaugh
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
RyanCavanaugh:ctEmptyArrayhttps://github.com/RyanCavanaugh/TypeScript/tree/ctEmptyArray
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Feb 14, 2022https://github.com/microsoft/TypeScript/pull/47898#issue-1137928598
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/RyanCavanaugh
Apply contextual type to empty array literalshttps://github.com/microsoft/TypeScript/pull/47898/commits/62c8ae10f2ea35b472bda413f06e70d829195f7c
62c8ae1https://github.com/microsoft/TypeScript/pull/47898/commits/62c8ae10f2ea35b472bda413f06e70d829195f7c
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
RyanCavanaughhttps://github.com/RyanCavanaugh
Feb 14, 2022https://github.com/microsoft/TypeScript/pull/47898#event-6070670899
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Feb 14, 2022https://github.com/microsoft/TypeScript/pull/47898#event-6070670964
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Feb 14, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039646415
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 14, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039646460
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
@RyanCavanaughhttps://github.com/RyanCavanaugh
62c8ae1https://github.com/microsoft/TypeScript/commit/62c8ae10f2ea35b472bda413f06e70d829195f7c
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=120048
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 14, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039646461
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
@RyanCavanaughhttps://github.com/RyanCavanaugh
62c8ae1https://github.com/microsoft/TypeScript/commit/62c8ae10f2ea35b472bda413f06e70d829195f7c
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=120049
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 14, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039646462
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
@RyanCavanaughhttps://github.com/RyanCavanaugh
62c8ae1https://github.com/microsoft/TypeScript/commit/62c8ae10f2ea35b472bda413f06e70d829195f7c
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=120047
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/RyanCavanaugh
Merge branch 'main' into ctEmptyArrayhttps://github.com/microsoft/TypeScript/pull/47898/commits/6076fdc8997046ad680e898e575cce3689d8736c
6076fdchttps://github.com/microsoft/TypeScript/pull/47898/commits/6076fdc8997046ad680e898e575cce3689d8736c
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 14, 2022 https://github.com/microsoft/TypeScript/pull/47898#ref-pullrequest-1137975064
🤖 User test baselines have changed for ctEmptyArray typescript-bot/TypeScript#223 https://github.com/typescript-bot/TypeScript/pull/223
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 14, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039682400
PR with the baseline diff from masterhttps://github.com/typescript-bot/TypeScript/pull/223
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/RyanCavanaugh
Add baseline from mergehttps://github.com/microsoft/TypeScript/pull/47898/commits/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1
6c8f308https://github.com/microsoft/TypeScript/pull/47898/commits/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Feb 15, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039705673
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 15, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039705701
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
@RyanCavanaughhttps://github.com/RyanCavanaugh
6c8f308https://github.com/microsoft/TypeScript/commit/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=120059
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 15, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039705702
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
@RyanCavanaughhttps://github.com/RyanCavanaugh
6c8f308https://github.com/microsoft/TypeScript/commit/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=120057
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 15, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039705703
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
@RyanCavanaughhttps://github.com/RyanCavanaugh
6c8f308https://github.com/microsoft/TypeScript/commit/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=120056
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 15, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039705704
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
@RyanCavanaughhttps://github.com/RyanCavanaugh
6c8f308https://github.com/microsoft/TypeScript/commit/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=120058
The results are in!https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039749966
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 15, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039705705
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
@RyanCavanaughhttps://github.com/RyanCavanaugh
6c8f308https://github.com/microsoft/TypeScript/commit/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=120060
The results are in!https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039757961
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 15, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039716965
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
@RyanCavanaughhttps://github.com/RyanCavanaugh
an installable tgzhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/120057/artifacts?artifactName=tgz&fileId=CCD48A85A5D92B1B5A0BA4D63641EB7AF68C7237F98BD01B4F44342737A5230202&fileName=/typescript-4.7.0-insiders.20220215.tgz
for this buildhttps://www.staging-typescript.org/play?ts=4.7.0-pr-47898-11
npmhttps://www.npmjs.com/package/@typescript-deploys/pr-build/v/4.7.0-pr-47898-11
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 15, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039749966
@RyanCavanaughhttps://github.com/RyanCavanaugh
Download Benchmarkhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/120058/artifacts?artifactName=benchmark&fileId=B2460251529DC3C681F2B7637C459458EB1D1FF8E2EBF2CC720CEEA5B6CE7B8D02&fileName=linux.benchmark
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Feb 15, 2022https://github.com/microsoft/TypeScript/pull/47898#issuecomment-1039757961
@RyanCavanaughhttps://github.com/RyanCavanaugh
Download Benchmarkhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/120060/artifacts?artifactName=benchmark&fileId=00F4A7E86D0AA2613085B76CE4CA5216A9B2D994EFADE75FEB255F2CA8863D2201&fileName=linux.benchmark
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Feb 16, 2022 https://github.com/microsoft/TypeScript/pull/47898#pullrequestreview-883791666
View reviewed changes https://github.com/microsoft/TypeScript/pull/47898/files/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/47898/files/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
DanielRosenwasserhttps://github.com/DanielRosenwasser
Feb 16, 2022https://github.com/microsoft/TypeScript/pull/47898#discussion_r807422208
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Feb 16, 2022 https://github.com/microsoft/TypeScript/pull/47898#ref-issue-1140499239
"satisfies" operator to ensure an expression matches some type (feedback reset) #47920 https://github.com/microsoft/TypeScript/issues/47920
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Experiment https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3AExperiment
Feb 24, 2022https://github.com/microsoft/TypeScript/pull/47898#event-6133802962
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jun 20, 2022https://github.com/microsoft/TypeScript/pull/47898#event-6841497901
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Dec 12, 2022 https://github.com/microsoft/TypeScript/pull/47898#ref-issue-1489526550
Interaction of empty arrays and satisfies is unsatisfying #51853 https://github.com/microsoft/TypeScript/issues/51853
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Apr 24, 2023 https://github.com/microsoft/TypeScript/pull/47898#ref-issue-1681754584
Using type alias for record prevents compiler from inferring generic function argument correctly #54000 https://github.com/microsoft/TypeScript/issues/54000
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 22, 2025https://github.com/microsoft/TypeScript/pull/47898#event-20417498865
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F47898
https://github.com/DanielRosenwasser
DanielRosenwasser https://github.com/DanielRosenwasser
https://github.com/microsoft/TypeScript/pull/47898/files/6c8f3082ffc073cacb8da72f5a6bdcb43a6d4ae1
https://github.com/RyanCavanaugh
RyanCavanaugh https://github.com/RyanCavanaugh
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
Experiment https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3AExperiment
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/47898
https://github.com/RyanCavanaugh
https://github.com/typescript-bot
https://github.com/DanielRosenwasser
https://github.com/sandersn
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.