René's URL Explorer Experiment


Title: Allow inferFromUsage to do auto-imports by andrewbranch · Pull Request #33915 · microsoft/TypeScript · GitHub

Open Graph Title: Allow inferFromUsage to do auto-imports by andrewbranch · Pull Request #33915 · microsoft/TypeScript

X Title: Allow inferFromUsage to do auto-imports by andrewbranch · Pull Request #33915 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Allow inferFromUsage to do auto-imports by andrewbranch · Pull Request #33915 · microsoft/TypeScript

Open Graph Description: Fixes #32910

X Description: Fixes #32910

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:87562c8c-1172-3edb-0be0-93fbe1c2fe37
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9F78:19F84C:12408F9:17619B1:6B010BAE
html-safe-noncec2dc1dc608bc4b5c6b71567c2079f389e62965764a4d31c04d4ad47392dbe4c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Rjc4OjE5Rjg0QzoxMjQwOEY5OjE3NjE5QjE6NkIwMTBCQUUiLCJ2aXNpdG9yX2lkIjoiMzA0NjQ2MjI0OTQ5ODY0MzM3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1a34cc37517c49cff65d28e74d9ba82cb23acfb1a3ed421b9b3fe6ba41cb4914
hovercard-subject-tagpull_request:326492997
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/33915/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f9e1a6caddeace3a8e68352d2f704368a7f25b281fcaccb87416c69aa3887a37/microsoft/TypeScript/pull/33915
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f9e1a6caddeace3a8e68352d2f704368a7f25b281fcaccb87416c69aa3887a37/microsoft/TypeScript/pull/33915
og:image:altFixes #32910
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandrewbranch
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/33915#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F33915
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F33915
Sign uphttps://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/33915
Reloadhttps://github.com/microsoft/TypeScript/pull/33915
Reloadhttps://github.com/microsoft/TypeScript/pull/33915
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests310 (310)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Andrew Branch (andrewbranch)https://github.com/andrewbranch
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
andrewbranch:bug/32910https://github.com/andrewbranch/TypeScript/tree/bug/32910
Conversationhttps://github.com/microsoft/TypeScript/pull/33915
Commits7 (7)https://github.com/microsoft/TypeScript/pull/33915/commits
Checkshttps://github.com/microsoft/TypeScript/pull/33915/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/33915/files
Allow inferFromUsage to do auto-importshttps://github.com/microsoft/TypeScript/pull/33915#top
Andrew Branch (andrewbranch)https://github.com/andrewbranch
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
andrewbranch:bug/32910https://github.com/andrewbranch/TypeScript/tree/bug/32910
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Oct 9, 2019https://github.com/microsoft/TypeScript/pull/33915#issue-504953174
#32910https://github.com/microsoft/TypeScript/issues/32910
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33915
Andrew Branch (andrewbranch)https://github.com/andrewbranch
October 4, 2019 09:25https://github.com/microsoft/TypeScript/pull/33915#commits-pushed-01617e3
https://github.com/andrewbranch
Add testhttps://github.com/microsoft/TypeScript/pull/33915/commits/01617e31d9cb2e7aab879569c139049ec83fabaf
01617e3https://github.com/microsoft/TypeScript/pull/33915/commits/01617e31d9cb2e7aab879569c139049ec83fabaf
https://github.com/andrewbranch
Auto-import instead of using ImportTypeNodeshttps://github.com/microsoft/TypeScript/pull/33915/commits/9eddf836fac19a5b1ea2336c75f0b62d1a0bf2ca
9eddf83https://github.com/microsoft/TypeScript/pull/33915/commits/9eddf836fac19a5b1ea2336c75f0b62d1a0bf2ca
https://github.com/andrewbranch
Write more tests and fix namespace casehttps://github.com/microsoft/TypeScript/pull/33915/commits/282961cc62aaa549f73b07fb20c5615f15be4104
282961chttps://github.com/microsoft/TypeScript/pull/33915/commits/282961cc62aaa549f73b07fb20c5615f15be4104
https://github.com/andrewbranch
Remove unused enum memmberhttps://github.com/microsoft/TypeScript/pull/33915/commits/d789e96ed447a8e99bc19ba12d6b8d594e56743f
d789e96https://github.com/microsoft/TypeScript/pull/33915/commits/d789e96ed447a8e99bc19ba12d6b8d594e56743f
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
October 9, 2019 23:52https://github.com/microsoft/TypeScript/pull/33915#event-2700852855
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Oct 9, 2019 https://github.com/microsoft/TypeScript/pull/33915#pullrequestreview-299758678
View reviewed changes https://github.com/microsoft/TypeScript/pull/33915/files/d789e96ed447a8e99bc19ba12d6b8d594e56743f
src/compiler/utilities.tshttps://github.com/microsoft/TypeScript/pull/33915/files/d789e96ed447a8e99bc19ba12d6b8d594e56743f#diff-1516c8349f7a625a2e4a2aa60f6bbe84e4b1a499128e8705d3087d893e01d367
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33915
Andrew Branch (andrewbranch)https://github.com/andrewbranch
October 9, 2019 19:05https://github.com/microsoft/TypeScript/pull/33915#commits-pushed-f92fab9
https://github.com/andrewbranch
Update API baselineshttps://github.com/microsoft/TypeScript/pull/33915/commits/f92fab96c40d2ff9281b5a44e04d948ea7777515
f92fab9https://github.com/microsoft/TypeScript/pull/33915/commits/f92fab96c40d2ff9281b5a44e04d948ea7777515
https://github.com/andrewbranch
Linthttps://github.com/microsoft/TypeScript/pull/33915/commits/a035c2d0811ea2aa7f9b89558662e64518b988df
a035c2dhttps://github.com/microsoft/TypeScript/pull/33915/commits/a035c2d0811ea2aa7f9b89558662e64518b988df
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 10, 2019 https://github.com/microsoft/TypeScript/pull/33915#pullrequestreview-300355575
View reviewed changes https://github.com/microsoft/TypeScript/pull/33915/files/a035c2d0811ea2aa7f9b89558662e64518b988df
src/compiler/utilities.tshttps://github.com/microsoft/TypeScript/pull/33915/files/d789e96ed447a8e99bc19ba12d6b8d594e56743f#diff-1516c8349f7a625a2e4a2aa60f6bbe84e4b1a499128e8705d3087d893e01d367
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33915
src/services/codefixes/inferFromUsage.tshttps://github.com/microsoft/TypeScript/pull/33915/files/a035c2d0811ea2aa7f9b89558662e64518b988df#diff-494ad2a09ed713c22bcd73f67e0563e315a3fdeba71183dfc5eb6b20dfb0afdd
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33915
src/services/codefixes/inferFromUsage.tshttps://github.com/microsoft/TypeScript/pull/33915/files/a035c2d0811ea2aa7f9b89558662e64518b988df#diff-494ad2a09ed713c22bcd73f67e0563e315a3fdeba71183dfc5eb6b20dfb0afdd
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33915
src/services/codefixes/inferFromUsage.tshttps://github.com/microsoft/TypeScript/pull/33915/files/a035c2d0811ea2aa7f9b89558662e64518b988df#diff-494ad2a09ed713c22bcd73f67e0563e315a3fdeba71183dfc5eb6b20dfb0afdd
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 10, 2019https://github.com/microsoft/TypeScript/pull/33915#discussion_r333740249
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33915
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Oct 10, 2019https://github.com/microsoft/TypeScript/pull/33915#discussion_r333773228
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33915
https://github.com/andrewbranch
Style nits and util consolidationhttps://github.com/microsoft/TypeScript/pull/33915/commits/052a9b29571b77b62e9bf15d16dca7597dfb9d05
052a9b2https://github.com/microsoft/TypeScript/pull/33915/commits/052a9b29571b77b62e9bf15d16dca7597dfb9d05
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
e146f0dhttps://github.com/microsoft/TypeScript/commit/e146f0d13d17338296013ac308af466f90973047
Oct 14, 2019https://github.com/microsoft/TypeScript/pull/33915#event-2711254491
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
October 14, 2019 17:33https://github.com/microsoft/TypeScript/pull/33915#event-2711254680
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Nov 8, 2019 https://github.com/microsoft/TypeScript/pull/33915#ref-issue-520073735
Implementing interface puts relative imports #34995 https://github.com/microsoft/TypeScript/issues/34995
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Feb 4, 2020 https://github.com/microsoft/TypeScript/pull/33915#ref-pullrequest-560037539
Use type-only imports in auto-imports when it would be an error not to, and use auto-imports in “implement interface” fix #36615 https://github.com/microsoft/TypeScript/pull/36615
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/33915#event-20416796987
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/33915#event-20416797863
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%2F33915
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat) https://github.com/sheetalkamat
https://github.com/microsoft/TypeScript/pull/33915/files/a035c2d0811ea2aa7f9b89558662e64518b988df
https://github.com/sandersn
Nathan Shively-Sanders (sandersn) https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/33915/files/a035c2d0811ea2aa7f9b89558662e64518b988df
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33915
https://github.com/andrewbranch
Andrew Branch (andrewbranch) https://github.com/andrewbranch
Infering type from usage does silly import https://github.com/microsoft/TypeScript/issues/32910
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33915
https://github.com/andrewbranch
https://github.com/sandersn
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.