| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:0362aa90-03aa-9212-e31c-9a46cf6190e0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE44:2A6083:11AD13:17CC4D:6A4D20BC |
| html-safe-nonce | e32cf1175b0a91595be7bfaf70662e0771003e2b4f69d03f95a92c4f95c141c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTQ0OjJBNjA4MzoxMUFEMTM6MTdDQzREOjZBNEQyMEJDIiwidmlzaXRvcl9pZCI6IjYzMTI3OTE2ODU2MTgwMTY0NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8db120c76d98fcfe502837dfb8f410f728684bde73895edf19120d3ecd927f36 |
| hovercard-subject-tag | pull_request:2574213899 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/61824/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/83af4bcd7c8f65bd34d96c4b236dbd3a0d253acf1cc91fcd868921a853ab8e35/microsoft/TypeScript/pull/61824 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83af4bcd7c8f65bd34d96c4b236dbd3a0d253acf1cc91fcd868921a853ab8e35/microsoft/TypeScript/pull/61824 |
| og:image:alt | fixes #61734 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Andarist |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/TypeScript/pull/61824#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F61824 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F61824 |
|
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 |
| Reload | https://github.com/microsoft/TypeScript/pull/61824 |
| Reload | https://github.com/microsoft/TypeScript/pull/61824 |
| Reload | https://github.com/microsoft/TypeScript/pull/61824 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/61824 |
|
microsoft
| https://github.com/microsoft |
| TypeScript | https://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
109k
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Code
| https://github.com/microsoft/TypeScript |
|
Issues
5k+
| https://github.com/microsoft/TypeScript/issues |
|
Pull requests
34
| 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 |
| jakebailey | https://github.com/jakebailey |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| Andarist:fix/block-scoped-error-when-parse-errors | https://github.com/Andarist/TypeScript/tree/fix/block-scoped-error-when-parse-errors |
| Conversation | https://github.com/microsoft/TypeScript/pull/61824 |
| Commits2 (2) | https://github.com/microsoft/TypeScript/pull/61824/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/61824/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/61824/files |
| Issue "'{0}' declarations can only be declared inside a block." for block-scoped variables in presence of parse errors | https://github.com/microsoft/TypeScript/pull/61824#top |
| jakebailey | https://github.com/jakebailey |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| Andarist:fix/block-scoped-error-when-parse-errors | https://github.com/Andarist/TypeScript/tree/fix/block-scoped-error-when-parse-errors |
|
| https://github.com/Andarist |
| Andarist | https://github.com/Andarist |
| Jun 6, 2025 | https://github.com/microsoft/TypeScript/pull/61824#issue-3125588383 |
| #61734 | https://github.com/microsoft/TypeScript/issues/61734 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/61824 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| June 6, 2025 18:47 | https://github.com/microsoft/TypeScript/pull/61824#event-18027338111 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Jun 6, 2025 | https://github.com/microsoft/TypeScript/pull/61824#event-18027338366 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Jun 6, 2025 | https://github.com/microsoft/TypeScript/pull/61824#event-18027338616 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
|
For Backlog Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22 |
| Jun 6, 2025 | https://github.com/microsoft/TypeScript/pull/61824#event-18027338935 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Jun 6, 2025
| https://github.com/microsoft/TypeScript/pull/61824#pullrequestreview-2905772956 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/61824/files |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/microsoft/TypeScript/pull/61824#pullrequestreview-2905772956 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/61824 |
|
| https://github.com/Andarist |
| Issue "'{0}' declarations can only be declared inside a block." for b… | https://github.com/microsoft/TypeScript/pull/61824/commits/0c2477446caeb6b9e962c291746b90196bdf239d |
| 0c24774 | https://github.com/microsoft/TypeScript/pull/61824/commits/0c2477446caeb6b9e962c291746b90196bdf239d |
| https://github.com/Andarist |
| Andarist | https://github.com/Andarist |
| force-pushed | https://github.com/microsoft/TypeScript/compare/daad9bc42081cc8a67b01055b409c358929ed43f..0c2477446caeb6b9e962c291746b90196bdf239d |
| daad9bc | https://github.com/microsoft/TypeScript/commit/daad9bc42081cc8a67b01055b409c358929ed43f |
| 0c24774 | https://github.com/microsoft/TypeScript/commit/0c2477446caeb6b9e962c291746b90196bdf239d |
|
Compare
| https://github.com/microsoft/TypeScript/compare/daad9bc42081cc8a67b01055b409c358929ed43f..0c2477446caeb6b9e962c291746b90196bdf239d |
| June 6, 2025 18:48 | https://github.com/microsoft/TypeScript/pull/61824#event-18027358286 |
| https://github.com/jakebailey |
| jakebailey | https://github.com/jakebailey |
|
Jun 6, 2025
| https://github.com/microsoft/TypeScript/pull/61824#pullrequestreview-2905984060 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/61824/files/0c2477446caeb6b9e962c291746b90196bdf239d |
| src/compiler/checker.ts | https://github.com/microsoft/TypeScript/pull/61824/files/0c2477446caeb6b9e962c291746b90196bdf239d#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/61824 |
|
| https://github.com/Andarist |
| use a different function | https://github.com/microsoft/TypeScript/pull/61824/commits/3f022d05e5cf8c73954cf57e5c01605b1b81bdb9 |
| 3f022d0 | https://github.com/microsoft/TypeScript/pull/61824/commits/3f022d05e5cf8c73954cf57e5c01605b1b81bdb9 |
| https://github.com/jakebailey |
| jakebailey | https://github.com/jakebailey |
|
Jun 6, 2025
| https://github.com/microsoft/TypeScript/pull/61824#pullrequestreview-2906106704 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/61824/files/3f022d05e5cf8c73954cf57e5c01605b1b81bdb9 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Jun 6, 2025 | https://github.com/microsoft/TypeScript/pull/61824#event-18028628870 |
| https://github.com/jakebailey |
| jakebailey | https://github.com/jakebailey |
| fa2a0fc | https://github.com/microsoft/TypeScript/commit/fa2a0fc5a2f34d5c76dc4b105a93dbe3c4750d5f |
| Jun 6, 2025 | https://github.com/microsoft/TypeScript/pull/61824#event-18028800803 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/61824 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Jun 6, 2025 | https://github.com/microsoft/TypeScript/pull/61824#event-18028801128 |
|
Feature implementation from commits 2b88aeb..0dfd0c2
codeOwlAI/TypeScript#2
| https://github.com/codeOwlAI/TypeScript/pull/2 |
|
Feature implementation from commits b86ab7d..7715955
codeOwlAI/TypeScript#3
| https://github.com/codeOwlAI/TypeScript/pull/3 |
| https://github.com/jakebailey |
| jakebailey | https://github.com/jakebailey |
|
Jun 30, 2025
| https://github.com/microsoft/TypeScript/pull/61824#ref-pullrequest-3107481743 |
|
fix: const declarations inside block to be more aggressive
#61796
| https://github.com/microsoft/TypeScript/pull/61796 |
| https://github.com/Andarist |
| Andarist | https://github.com/Andarist |
|
Oct 4, 2025
| https://github.com/microsoft/TypeScript/pull/61824#ref-pullrequest-3483636367 |
|
Port 'Issue "'{0}' declarations can only be declared inside a block." for block-scoped variables in presence of parse errors'
microsoft/typescript-go#1816
| https://github.com/microsoft/typescript-go/pull/1816 |
| https://github.com/microsoft |
| microsoft | https://github.com/microsoft |
| Dec 9, 2025 | https://github.com/microsoft/TypeScript/pull/61824#event-21465768601 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F61824 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com/microsoft/TypeScript/pull/61824/files/daad9bc42081cc8a67b01055b409c358929ed43f |
|
| https://github.com/jakebailey |
|
jakebailey
| https://github.com/jakebailey |
|
| https://github.com/microsoft/TypeScript/pull/61824/files/3f022d05e5cf8c73954cf57e5c01605b1b81bdb9 |
|
For Backlog Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22 |
|
PR Backlog
| https://github.com/orgs/microsoft/projects/1252 |
|
"'const' declarations can only be declared inside a block" should be issued more aggressively
| https://github.com/microsoft/TypeScript/issues/61734 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/61824 |
|
| https://github.com/Andarist |
|
| https://github.com/jakebailey |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com/andrewbranch |
|
| https://github.com/typescript-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |