René's URL Explorer Experiment


Title: allow var in TypeScript ambient declarations by azat-io · Pull Request #68 · thefrontside/javascript · GitHub

Open Graph Title: allow var in TypeScript ambient declarations by azat-io · Pull Request #68 · thefrontside/javascript

X Title: allow var in TypeScript ambient declarations by azat-io · Pull Request #68 · thefrontside/javascript

Description: 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...

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/thefrontside/javascript/pull/68

X: @github

direct link

Domain: patch-diff.githubusercontent.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:175b01b2-1c74-0dde-4ea8-b23b09a06905
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB024:3F6966:18CC2A1:22B1B5C:696FD928
html-safe-nonce63f4fea7d4e67d8665f3b6b034e8883c0d4baa6f46bf7914a3f02bc32c32eb8d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDI0OjNGNjk2NjoxOENDMkExOjIyQjFCNUM6Njk2RkQ5MjgiLCJ2aXNpdG9yX2lkIjoiODQ4ODcyMjkwMzQ1OTY4MjYwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0738c22e948eadac9b3fff57cb63bd80905c31184dd1ad35a50bede72d14d8ec
hovercard-subject-tagpull_request:3140596504
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/thefrontside/javascript/68/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6e3a5b26e1834276c0b686f09dbf5c9499a519931cf1093987c437fc3df862a7/thefrontside/javascript/pull/68
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6e3a5b26e1834276c0b686f09dbf5c9499a519931cf1093987c437fc3df862a7/thefrontside/javascript/pull/68
og:image:altMotivation 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameazat-io
hostnamegithub.com
expected-hostnamegithub.com
Nonea5d30ba41f7d9acded2fd135aa830ac2f5c7e52dca0e776e658d37eaf9dfb033
turbo-cache-controlno-preview
go-importgithub.com/thefrontside/javascript git https://github.com/thefrontside/javascript.git
octolytics-dimension-user_id223096
octolytics-dimension-user_loginthefrontside
octolytics-dimension-repository_id274492194
octolytics-dimension-repository_nwothefrontside/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id274492194
octolytics-dimension-repository_network_root_nwothefrontside/javascript
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
release2f945b7bb88421600e89dfefbb1548ad0a44781a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 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://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
Reloadhttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
Reloadhttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
Reloadhttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
thefrontside https://patch-diff.githubusercontent.com/thefrontside
javascripthttps://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 pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fthefrontside%2Fjavascript%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issue-comment-box
cowboydhttps://patch-diff.githubusercontent.com/cowboyd
thefrontside:v3https://patch-diff.githubusercontent.com/thefrontside/javascript/tree/v3
azat-io:feat/ts-declarationshttps://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
cowboydhttps://patch-diff.githubusercontent.com/cowboyd
thefrontside:v3https://patch-diff.githubusercontent.com/thefrontside/javascript/tree/v3
azat-io:feat/ts-declarationshttps://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 pagehttps://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-iohttps://patch-diff.githubusercontent.com/azat-io
Jan 1, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issue-3774517573
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/azat-io
allow var in TypeScript ambient declarationshttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/commits/86abdd63d48f7b14b63840288abe5902280e1150
86abdd6https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/commits/86abdd63d48f7b14b63840288abe5902280e1150
https://patch-diff.githubusercontent.com/apps/changeset-bot
changeset-bothttps://patch-diff.githubusercontent.com/apps/changeset-bot
Jan 1, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3703589535
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
b2b469chttps://github.com/thefrontside/javascript/commit/b2b469c2513240f8fe8f80d88e3323780335cef2
Click here to learn what changesets arehttps://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 PRhttps://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 pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/apps/github-actions
github-actionshttps://patch-diff.githubusercontent.com/apps/github-actions
Jan 1, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3703589753
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
b2b469chttps://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 fileshttps://patch-diff.githubusercontent.com/thefrontside/javascript/tree/HEAD/.changes
github.com/jbolda/covectorhttps://github.com/jbolda/covector/tree/main/packages/covector
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/cowboyd
cowboydhttps://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
cowboydhttps://patch-diff.githubusercontent.com/cowboyd
https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#pullrequestreview-3625113266
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/cowboyd
Add changesethttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/commits/b2b469c2513240f8fe8f80d88e3323780335cef2
b2b469chttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68/commits/b2b469c2513240f8fe8f80d88e3323780335cef2
https://patch-diff.githubusercontent.com/cowboyd
cowboydhttps://patch-diff.githubusercontent.com/cowboyd
f6167adhttps://patch-diff.githubusercontent.com/thefrontside/javascript/commit/f6167ad7c44c1eadd45736a581192b474d931ca6
Jan 4, 2026https://github.com/thefrontside/javascript/pull/68#event-21842596822
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/azat-io
azat-iohttps://patch-diff.githubusercontent.com/azat-io
Jan 5, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3709290712
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/cowboyd
cowboydhttps://patch-diff.githubusercontent.com/cowboyd
Jan 5, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711236014
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
@jboldahttps://github.com/jbolda
https://github.com/thefrontside/javascript/actions/runs/20697051068https://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@f6167adhttps://github.com/thefrontside/javascript
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/azat-io
azat-iohttps://patch-diff.githubusercontent.com/azat-io
Jan 5, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711243542
@cowboydhttps://github.com/cowboyd
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/jbolda
jboldahttps://patch-diff.githubusercontent.com/jbolda
Jan 5, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711421306
@cowboydhttps://github.com/cowboyd
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/cowboyd
cowboydhttps://patch-diff.githubusercontent.com/cowboyd
Jan 5, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711819504
@azat-iohttps://github.com/azat-io
@jboldahttps://github.com/jbolda
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/jbolda
jboldahttps://patch-diff.githubusercontent.com/jbolda
Jan 5, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3711987354
@cowboydhttps://github.com/cowboyd
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/azat-io
azat-iohttps://patch-diff.githubusercontent.com/azat-io
Jan 6, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3713546296
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/cowboyd
cowboydhttps://patch-diff.githubusercontent.com/cowboyd
Jan 6, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3715124295
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/cowboyd
cowboydhttps://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
cowboydhttps://patch-diff.githubusercontent.com/cowboyd
Jan 7, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3719159961
#69https://github.com/thefrontside/javascript/pull/69
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
https://patch-diff.githubusercontent.com/azat-io
azat-iohttps://patch-diff.githubusercontent.com/azat-io
Jan 7, 2026https://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68#issuecomment-3719783186
Please reload this pagehttps://patch-diff.githubusercontent.com/thefrontside/javascript/pull/68
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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
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.