| 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:175b01b2-1c74-0dde-4ea8-b23b09a06905 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B024:3F6966:18CC2A1:22B1B5C:696FD928 |
| html-safe-nonce | 63f4fea7d4e67d8665f3b6b034e8883c0d4baa6f46bf7914a3f02bc32c32eb8d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDI0OjNGNjk2NjoxOENDMkExOjIyQjFCNUM6Njk2RkQ5MjgiLCJ2aXNpdG9yX2lkIjoiODQ4ODcyMjkwMzQ1OTY4MjYwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0738c22e948eadac9b3fff57cb63bd80905c31184dd1ad35a50bede72d14d8ec |
| hovercard-subject-tag | pull_request:3140596504 |
| 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/thefrontside/javascript/68/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6e3a5b26e1834276c0b686f09dbf5c9499a519931cf1093987c437fc3df862a7/thefrontside/javascript/pull/68 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6e3a5b26e1834276c0b686f09dbf5c9499a519931cf1093987c437fc3df862a7/thefrontside/javascript/pull/68 |
| og:image:alt | Motivation
The prefer-let rule was incorrectly flagging var declarations in TypeScript ambient contexts (declare global, declare module, declare namespace). In these contexts, var has special seman... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | azat-io |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5d30ba41f7d9acded2fd135aa830ac2f5c7e52dca0e776e658d37eaf9dfb033 |
| turbo-cache-control | no-preview |
| go-import | github.com/thefrontside/javascript git https://github.com/thefrontside/javascript.git |
| octolytics-dimension-user_id | 223096 |
| octolytics-dimension-user_login | thefrontside |
| octolytics-dimension-repository_id | 274492194 |
| octolytics-dimension-repository_nwo | thefrontside/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 274492194 |
| octolytics-dimension-repository_network_root_nwo | thefrontside/javascript |
| 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 | 2f945b7bb88421600e89dfefbb1548ad0a44781a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthefrontside%2Fjavascript%2Fpull%2F68 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| 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 |
| 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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthefrontside%2Fjavascript%2Fpull%2F68 |
|
Sign up
| https://patch-diff.githubusercontent.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=thefrontside%2Fjavascript |
| Reload | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| Reload | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| Reload | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
|
thefrontside
| https://patch-diff.githubusercontent.com/thefrontside |
| javascript | https://patch-diff.githubusercontent.com/thefrontside/javascript |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fthefrontside%2Fjavascript |
|
Fork
5
| https://patch-diff.githubusercontent.com/login?return_to=%2Fthefrontside%2Fjavascript |
|
Star
9
| https://patch-diff.githubusercontent.com/login?return_to=%2Fthefrontside%2Fjavascript |
|
Code
| https://patch-diff.githubusercontent.com/thefrontside/javascript |
|
Issues
6
| https://patch-diff.githubusercontent.com/thefrontside/javascript/issues |
|
Pull requests
1
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/thefrontside/javascript/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/thefrontside/javascript/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://patch-diff.githubusercontent.com/thefrontside/javascript/security |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
|
Insights
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pulse |
|
Code
| https://patch-diff.githubusercontent.com/thefrontside/javascript |
|
Issues
| https://patch-diff.githubusercontent.com/thefrontside/javascript/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/thefrontside/javascript/actions |
|
Projects
| https://patch-diff.githubusercontent.com/thefrontside/javascript/projects |
|
Security
| https://patch-diff.githubusercontent.com/thefrontside/javascript/security |
|
Insights
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fthefrontside%2Fjavascript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fthefrontside%2Fjavascript%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issue-comment-box |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
| thefrontside:v3 | https://patch-diff.githubusercontent.com/thefrontside/javascript/tree/v3 |
| azat-io:feat/ts-declarations | https://patch-diff.githubusercontent.com/azat-io/javascript/tree/feat/ts-declarations |
|
allow var in TypeScript ambient declarations
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#top |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
| thefrontside:v3 | https://patch-diff.githubusercontent.com/thefrontside/javascript/tree/v3 |
| azat-io:feat/ts-declarations | https://patch-diff.githubusercontent.com/azat-io/javascript/tree/feat/ts-declarations |
|
Conversation
13
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
|
Commits
2
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/commits |
|
Checks
1
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/files |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/azat-io |
| azat-io | https://patch-diff.githubusercontent.com/azat-io |
| Jan 1, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issue-3774517573 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
|
| https://patch-diff.githubusercontent.com/azat-io |
| allow var in TypeScript ambient declarations | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/commits/86abdd63d48f7b14b63840288abe5902280e1150 |
| 86abdd6 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/commits/86abdd63d48f7b14b63840288abe5902280e1150 |
| https://patch-diff.githubusercontent.com/apps/changeset-bot |
| changeset-bot | https://patch-diff.githubusercontent.com/apps/changeset-bot |
| Jan 1, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3703589535 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| b2b469c | https://github.com/thefrontside/javascript/commit/b2b469c2513240f8fe8f80d88e3323780335cef2 |
| Click here to learn what changesets are | https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md |
| Click here if you're a maintainer who wants to add another changeset to this PR | https://github.com/azat-io/javascript/new/feat/ts-declarations?filename=.changeset/cool-jars-fix.md&value=---%0A%22%40fake-scope%2Ffake-pkg%22%3A%20patch%0A---%0A%0Aallow%20var%20in%20TypeScript%20ambient%20declarations%0A |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/apps/github-actions |
| github-actions | https://patch-diff.githubusercontent.com/apps/github-actions |
| Jan 1, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3703589753 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| b2b469c | https://github.com/thefrontside/javascript/commit/b2b469c2513240f8fe8f80d88e3323780335cef2 |
| Add a change file through the GitHub UI by following this link. | https://github.com/azat-io/javascript/new/feat/ts-declarations?filename=.changes/change-pr-68.md&value=---%0A%22@frontside/eslint-config%22:%20patch%0A%22eslint-plugin-prefer-let%22:%20patch%0A%22@frontside/tsconfig%22:%20patch%0A%22@frontside/typescript%22:%20patch%0A---%0A%0Aallow%20var%20in%20TypeScript%20ambient%20declarations%0A |
| change files | https://patch-diff.githubusercontent.com/thefrontside/javascript/tree/HEAD/.changes |
| github.com/jbolda/covector | https://github.com/jbolda/covector/tree/main/packages/covector |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/cowboyd |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
|
Jan 4, 2026
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#pullrequestreview-3625113266 |
|
View reviewed changes
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/files/86abdd63d48f7b14b63840288abe5902280e1150 |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#pullrequestreview-3625113266 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
|
| https://patch-diff.githubusercontent.com/cowboyd |
| Add changeset | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/commits/b2b469c2513240f8fe8f80d88e3323780335cef2 |
| b2b469c | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/commits/b2b469c2513240f8fe8f80d88e3323780335cef2 |
| https://patch-diff.githubusercontent.com/cowboyd |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
| f6167ad | https://patch-diff.githubusercontent.com/thefrontside/javascript/commit/f6167ad7c44c1eadd45736a581192b474d931ca6 |
| Jan 4, 2026 | https://github.com/thefrontside/javascript/pull/68#event-21842596822 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/azat-io |
| azat-io | https://patch-diff.githubusercontent.com/azat-io |
| Jan 5, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3709290712 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/cowboyd |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
| Jan 5, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711236014 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| @jbolda | https://github.com/jbolda |
| https://github.com/thefrontside/javascript/actions/runs/20697051068 | https://github.com/thefrontside/javascript/actions/runs/20697051068 |
| https://camo.githubusercontent.com/59a101826384ae287bc3ce34668adcc219cd0c95e707f2804930231964e39cde/68747470733a2f2f6f70656e67726170682e6769746875626173736574732e636f6d2f346461653839646665396263363435623430613336653031383332393330636231633236643932396633313839366337313662363634353233386238383566302f74686566726f6e74736964652f6a617661736372697074 |
| https://camo.githubusercontent.com/31b18f9a643460151bb1b5cd58f8757abf4033b59d1d3f1103e29a01d0214fe6/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f66617669636f6e732f66617669636f6e2e737667 |
| Merge pull request #68 from azat-io/feat/ts-declarations · thefrontside/javascript@f6167ad | https://github.com/thefrontside/javascript |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/azat-io |
| azat-io | https://patch-diff.githubusercontent.com/azat-io |
| Jan 5, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711243542 |
| @cowboyd | https://github.com/cowboyd |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/jbolda |
| jbolda | https://patch-diff.githubusercontent.com/jbolda |
| Jan 5, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711421306 |
| @cowboyd | https://github.com/cowboyd |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/cowboyd |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
| Jan 5, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711819504 |
| @azat-io | https://github.com/azat-io |
| @jbolda | https://github.com/jbolda |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/jbolda |
| jbolda | https://patch-diff.githubusercontent.com/jbolda |
| Jan 5, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711987354 |
| @cowboyd | https://github.com/cowboyd |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/azat-io |
| azat-io | https://patch-diff.githubusercontent.com/azat-io |
| Jan 6, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3713546296 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/cowboyd |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
| Jan 6, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3715124295 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/cowboyd |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
|
Jan 6, 2026
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#ref-pullrequest-2050679953 |
|
Support the using declaration from explicit resource management
#56
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/56 |
| https://patch-diff.githubusercontent.com/cowboyd |
| cowboyd | https://patch-diff.githubusercontent.com/cowboyd |
| Jan 7, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3719159961 |
| #69 | https://github.com/thefrontside/javascript/pull/69 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| https://patch-diff.githubusercontent.com/azat-io |
| azat-io | https://patch-diff.githubusercontent.com/azat-io |
| Jan 7, 2026 | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3719783186 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthefrontside%2Fjavascript%2Fpull%2F68 |
|
| https://patch-diff.githubusercontent.com/cowboyd |
|
cowboyd
| https://patch-diff.githubusercontent.com/cowboyd |
|
| https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/files/86abdd63d48f7b14b63840288abe5902280e1150 |
| Please reload this page | https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68 |
|
| https://patch-diff.githubusercontent.com/azat-io |
|
| https://patch-diff.githubusercontent.com/cowboyd |
|
| https://patch-diff.githubusercontent.com/jbolda |
|
| 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 |