René's URL Explorer Experiment


Title: Improve scopes of type cast declarations by forivall · Pull Request #798 · microsoft/TypeScript-TmLanguage · GitHub

Open Graph Title: Improve scopes of type cast declarations by forivall · Pull Request #798 · microsoft/TypeScript-TmLanguage

X Title: Improve scopes of type cast declarations by forivall · Pull Request #798 · microsoft/TypeScript-TmLanguage

Description: I'm working on some syntax highlighting to better disambiguate what is type annotations and what is actual executable code, and I found that scope information in type casts were missing. Let me kno...

Open Graph Description: I'm working on some syntax highlighting to better disambiguate what is type annotations and what is actual executable code, and I found that scope information in type casts were missing. Let me...

X Description: I'm working on some syntax highlighting to better disambiguate what is type annotations and what is actual executable code, and I found that scope information in type casts were missing. Le...

Opengraph URL: https://github.com/microsoft/TypeScript-TmLanguage/pull/798

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:2d0131fc-61ff-9cb4-7bfd-6a9a81a27218
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94E8:CADE5:183A2E8:205E382:6969BCB0
html-safe-nonce6796c0ef419023bddf3515c5ffbba4ad4a08190775d9c8b67f9a67a650682b60
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEU4OkNBREU1OjE4M0EyRTg6MjA1RTM4Mjo2OTY5QkNCMCIsInZpc2l0b3JfaWQiOiIxNjQ4NDEzNzg4NjE3Njg2MTkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf706c0f8e137825da9e667f0ad470448e2d238586106d37dbf1087cbd63b5540
hovercard-subject-tagpull_request:358810142
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-TmLanguage/798/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c100821faecc2537d7df8d76aa3429751cc47a610b3a56f7a52d9f67efddc412/microsoft/TypeScript-TmLanguage/pull/798
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c100821faecc2537d7df8d76aa3429751cc47a610b3a56f7a52d9f67efddc412/microsoft/TypeScript-TmLanguage/pull/798
og:image:altI'm working on some syntax highlighting to better disambiguate what is type annotations and what is actual executable code, and I found that scope information in type casts were missing. Let me...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameforivall
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript-TmLanguage git https://github.com/microsoft/TypeScript-TmLanguage.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id44774566
octolytics-dimension-repository_nwomicrosoft/TypeScript-TmLanguage
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id44774566
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript-TmLanguage
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript-TmLanguage/pull/798#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript-TmLanguage%2Fpull%2F798
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
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-TmLanguage%2Fpull%2F798
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-TmLanguage
Reloadhttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
Reloadhttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
Reloadhttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
microsoft https://github.com/microsoft
TypeScript-TmLanguagehttps://github.com/microsoft/TypeScript-TmLanguage
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript-TmLanguage
Fork 142 https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript-TmLanguage
Star 447 https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript-TmLanguage
Code https://github.com/microsoft/TypeScript-TmLanguage
Issues 106 https://github.com/microsoft/TypeScript-TmLanguage/issues
Pull requests 11 https://github.com/microsoft/TypeScript-TmLanguage/pulls
Actions https://github.com/microsoft/TypeScript-TmLanguage/actions
Projects 0 https://github.com/microsoft/TypeScript-TmLanguage/projects
Models https://github.com/microsoft/TypeScript-TmLanguage/models
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/microsoft/TypeScript-TmLanguage/security
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
Insights https://github.com/microsoft/TypeScript-TmLanguage/pulse
Code https://github.com/microsoft/TypeScript-TmLanguage
Issues https://github.com/microsoft/TypeScript-TmLanguage/issues
Pull requests https://github.com/microsoft/TypeScript-TmLanguage/pulls
Actions https://github.com/microsoft/TypeScript-TmLanguage/actions
Projects https://github.com/microsoft/TypeScript-TmLanguage/projects
Models https://github.com/microsoft/TypeScript-TmLanguage/models
Security https://github.com/microsoft/TypeScript-TmLanguage/security
Insights https://github.com/microsoft/TypeScript-TmLanguage/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoft%2FTypeScript-TmLanguage%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmicrosoft%2FTypeScript-TmLanguage%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/microsoft/TypeScript-TmLanguage/pull/798#issue-comment-box
forivallhttps://github.com/forivall
microsoft:masterhttps://github.com/microsoft/TypeScript-TmLanguage/tree/master
forivall:improved-cast-scopeshttps://github.com/forivall/TypeScript-TmLanguage/tree/improved-cast-scopes
Improve scopes of type cast declarations https://github.com/microsoft/TypeScript-TmLanguage/pull/798#top
forivallhttps://github.com/forivall
microsoft:masterhttps://github.com/microsoft/TypeScript-TmLanguage/tree/master
forivall:improved-cast-scopeshttps://github.com/forivall/TypeScript-TmLanguage/tree/improved-cast-scopes
Conversation 11 https://github.com/microsoft/TypeScript-TmLanguage/pull/798
Commits 1 https://github.com/microsoft/TypeScript-TmLanguage/pull/798/commits
Checks 0 https://github.com/microsoft/TypeScript-TmLanguage/pull/798/checks
Files changed https://github.com/microsoft/TypeScript-TmLanguage/pull/798/files
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript-TmLanguage/pull/{{ revealButtonHref }}
https://github.com/forivall
forivallhttps://github.com/forivall
Jan 2, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#issue-544767214
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
https://github.com/sheetalkamat
sheetalkamathttps://github.com/sheetalkamat
Jan 2, 2020 https://github.com/microsoft/TypeScript-TmLanguage/pull/798#pullrequestreview-337885065
View reviewed changes https://github.com/microsoft/TypeScript-TmLanguage/pull/798/files
tests/baselines/ArrowFunctionInsideTypeAssertion.baseline.txthttps://github.com/microsoft/TypeScript-TmLanguage/pull/798/files#diff-705b034f322060dd11b368153468b51d22cce869acc05ad38fa280e81b3e053b
sheetalkamathttps://github.com/sheetalkamat
Jan 2, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r362651021
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
forivallhttps://github.com/forivall
Jan 3, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r362919171
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/microsoft/TypeScript-TmLanguage/pull/798/files#diff-d5222b162266b45fd998419db416fdddR1577https://github.com/microsoft/TypeScript-TmLanguage/pull/798/files#diff-d5222b162266b45fd998419db416fdddR1577
https://github.com/microsoft/TypeScript-TmLanguage/pull/798/files#diff-d5222b162266b45fd998419db416fdddR1591https://github.com/microsoft/TypeScript-TmLanguage/pull/798/files#diff-d5222b162266b45fd998419db416fdddR1591
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
sheetalkamathttps://github.com/sheetalkamat
Jan 3, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r362946072
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
https://github.com/forivall
forivallhttps://github.com/forivall
Jan 3, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#issuecomment-570662923
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
https://github.com/sheetalkamat
sheetalkamathttps://github.com/sheetalkamat
Jan 3, 2020 https://github.com/microsoft/TypeScript-TmLanguage/pull/798#pullrequestreview-338255401
View reviewed changes https://github.com/microsoft/TypeScript-TmLanguage/pull/798/files
tests/baselines/ArrowFunctionInsideTypeAssertion.baseline.txthttps://github.com/microsoft/TypeScript-TmLanguage/pull/798/files#diff-705b034f322060dd11b368153468b51d22cce869acc05ad38fa280e81b3e053b
sheetalkamathttps://github.com/sheetalkamat
Jan 3, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r362946072
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
https://github.com/forivall
Improve scopes of type cast declarationshttps://github.com/microsoft/TypeScript-TmLanguage/pull/798/commits/48007533ced455bf3cff79fb0f2553b7e6e1fef8
4800753https://github.com/microsoft/TypeScript-TmLanguage/pull/798/commits/48007533ced455bf3cff79fb0f2553b7e6e1fef8
https://github.com/forivall
forivallhttps://github.com/forivall
force-pushedhttps://github.com/microsoft/TypeScript-TmLanguage/compare/9c94065cf609ad5af7ca786e9735702c720745bb..48007533ced455bf3cff79fb0f2553b7e6e1fef8
9c94065https://github.com/microsoft/TypeScript-TmLanguage/commit/9c94065cf609ad5af7ca786e9735702c720745bb
4800753https://github.com/microsoft/TypeScript-TmLanguage/commit/48007533ced455bf3cff79fb0f2553b7e6e1fef8
Compare https://github.com/microsoft/TypeScript-TmLanguage/compare/9c94065cf609ad5af7ca786e9735702c720745bb..48007533ced455bf3cff79fb0f2553b7e6e1fef8
January 4, 2020 00:23https://github.com/microsoft/TypeScript-TmLanguage/pull/798#event-2921528166
https://github.com/forivall
forivallhttps://github.com/forivall
sheetalkamathttps://github.com/sheetalkamat
January 4, 2020 00:31https://github.com/microsoft/TypeScript-TmLanguage/pull/798#event-2921535304
https://github.com/forivall
forivallhttps://github.com/forivall
Jan 4, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#issuecomment-570739267
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
microsoft/vscode-textmate#52 (comment)https://github.com/microsoft/vscode-textmate/issues/52#issuecomment-519567440
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
https://github.com/sheetalkamat
sheetalkamathttps://github.com/sheetalkamat
Jan 6, 2020 https://github.com/microsoft/TypeScript-TmLanguage/pull/798#pullrequestreview-338842276
View reviewed changes https://github.com/microsoft/TypeScript-TmLanguage/pull/798/files/48007533ced455bf3cff79fb0f2553b7e6e1fef8
tests/baselines/Issue314.baseline.txthttps://github.com/microsoft/TypeScript-TmLanguage/pull/798/files/48007533ced455bf3cff79fb0f2553b7e6e1fef8#diff-3c60397ab06c27eb2dbf3c0cb5519ad570515ddb416b9aadfe4ac71bce83cd16
sheetalkamathttps://github.com/sheetalkamat
Jan 6, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r363443330
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
TypeScript.YAML-tmLanguagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798/files/48007533ced455bf3cff79fb0f2553b7e6e1fef8#diff-f920686662480359e6be0b6446e4dde96319b28e5135f8216b43c389023fc157
sheetalkamathttps://github.com/sheetalkamat
Jan 6, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r363444281
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
TypeScript.YAML-tmLanguagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798/files/48007533ced455bf3cff79fb0f2553b7e6e1fef8#diff-f920686662480359e6be0b6446e4dde96319b28e5135f8216b43c389023fc157
sheetalkamathttps://github.com/sheetalkamat
Jan 6, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r363444324
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
TypeScript.YAML-tmLanguagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798/files/48007533ced455bf3cff79fb0f2553b7e6e1fef8#diff-f920686662480359e6be0b6446e4dde96319b28e5135f8216b43c389023fc157
sheetalkamathttps://github.com/sheetalkamat
Jan 6, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r363444426
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
TypeScript.YAML-tmLanguagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798/files/48007533ced455bf3cff79fb0f2553b7e6e1fef8#diff-f920686662480359e6be0b6446e4dde96319b28e5135f8216b43c389023fc157
sheetalkamathttps://github.com/sheetalkamat
Jan 6, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r363444838
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
TypeScript.YAML-tmLanguagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798/files/48007533ced455bf3cff79fb0f2553b7e6e1fef8#diff-f920686662480359e6be0b6446e4dde96319b28e5135f8216b43c389023fc157
sheetalkamathttps://github.com/sheetalkamat
Jan 6, 2020https://github.com/microsoft/TypeScript-TmLanguage/pull/798#discussion_r363445878
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
https://github.com/sheetalkamat
sheetalkamathttps://github.com/sheetalkamat
force-pushedhttps://github.com/microsoft/TypeScript-TmLanguage/compare/38ce77143b9d7bf7837211a6f7e3241492ee803b..0e1f58e200d6671b15b5efba2b17dcc3fc9bbab6
38ce771https://github.com/microsoft/TypeScript-TmLanguage/commit/38ce77143b9d7bf7837211a6f7e3241492ee803b
0e1f58ehttps://github.com/microsoft/TypeScript-TmLanguage/commit/0e1f58e200d6671b15b5efba2b17dcc3fc9bbab6
Compare https://github.com/microsoft/TypeScript-TmLanguage/compare/38ce77143b9d7bf7837211a6f7e3241492ee803b..0e1f58e200d6671b15b5efba2b17dcc3fc9bbab6
November 29, 2022 22:33https://github.com/microsoft/TypeScript-TmLanguage/pull/798#event-7917043013
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript-TmLanguage%2Fpull%2F798
https://github.com/sheetalkamat
sheetalkamat https://github.com/sheetalkamat
https://github.com/microsoft/TypeScript-TmLanguage/pull/798/files/48007533ced455bf3cff79fb0f2553b7e6e1fef8
Please reload this pagehttps://github.com/microsoft/TypeScript-TmLanguage/pull/798
https://github.com/forivall
https://github.com/sheetalkamat
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.