René's URL Explorer Experiment


Title: Implement a JSDoc @import tag · Issue #22160 · microsoft/TypeScript · GitHub

Open Graph Title: Implement a JSDoc @import tag · Issue #22160 · microsoft/TypeScript

X Title: Implement a JSDoc @import tag · Issue #22160 · microsoft/TypeScript

Description: Background #22158 tracks referencing types from a given module using JSDoc-style namepaths. Given that the syntax is somewhat unintuitive and predates the concept of ECMAScript modules, we would like to support a more ergonomic form if w...

Open Graph Description: Background #22158 tracks referencing types from a given module using JSDoc-style namepaths. Given that the syntax is somewhat unintuitive and predates the concept of ECMAScript modules, we would li...

X Description: Background #22158 tracks referencing types from a given module using JSDoc-style namepaths. Given that the syntax is somewhat unintuitive and predates the concept of ECMAScript modules, we would li...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/22160

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement a JSDoc @import tag","articleBody":"# Background\r\n\r\n#22158 tracks referencing types from a given module using JSDoc-style namepaths. Given that the syntax is somewhat unintuitive and predates the concept of ECMAScript modules, we would like to support a more ergonomic form if we feel it would be helpful.\r\n\r\n# Options\r\n\r\nBikeshedding time. 🚲 🏠 \r\n\r\n## `@from` `@import`\r\n\r\n```js\r\n/**\r\n * @from \"express\"\r\n * @import { Request, Response as CoolResponse } from\r\n * @import Default\r\n * @import * as ns\r\n */\r\n```\r\n\r\n### Pros\r\n\r\n* Allowing `@from` to precede named import clauses would be easier for completions (this is one of our oldest-duped requests #2371)\r\n* Can have multiple `import` clauses\r\n* Could hypothetically support `@from` before `@import` and vice versa.\r\n\r\n### Cons\r\n\r\n* Doesn't totally look like ESModule syntax which is just extra cognitive overhead.\r\n\r\n## ECMAScript Import-based\r\n\r\n```js\r\n/**\r\n * @import { x, y as z, default as Default } from \"express\"\r\n */\r\n```\r\n\r\n### Pros\r\n\r\n* Nothing to learn if you already know ECMAScript syntax.\r\n\r\n### Cons\r\n\r\n* Less optimal for completions\r\n\r\n# Issues with the Above\r\n\r\nThe options above don't make it explicit that only types are being imported. We could play around with keyword/tag placement (e.g. `@importtype`, `@import type`, etc.)","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2018-02-24T00:01:07Z","url":"https://github.com/microsoft/TypeScript/issues/22160"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4c6a6c03-57a8-6ff3-bfda-b2903678b27c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A16:2E5652:C5A815:FC7B4E:6B00FEF8
html-safe-nonce63a322d1dfb3a61652a9cb9bd5f8158b3e33927a2c277cb5f8a7c2fb2eee0b55
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTE2OjJFNTY1MjpDNUE4MTU6RkM3QjRFOjZCMDBGRUY4IiwidmlzaXRvcl9pZCI6IjM1NzA0OTIxMzY5OTY1MzYwNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3797f0324d94665838eb8cc171760f78be652bfb4d0e75a22602f047bc036bab
hovercard-subject-tagissue:299887401
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/22160/issue_layout
twitter:imagehttps://opengraph.githubassets.com/dec220557fdc23436e1e565ad9846d4cc2cb6af0c72d02764333abed23a71bf1/microsoft/TypeScript/issues/22160
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dec220557fdc23436e1e565ad9846d4cc2cb6af0c72d02764333abed23a71bf1/microsoft/TypeScript/issues/22160
og:image:altBackground #22158 tracks referencing types from a given module using JSDoc-style namepaths. Given that the syntax is somewhat unintuitive and predates the concept of ECMAScript modules, we would li...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDanielRosenwasser
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-preview
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-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/22160#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F22160
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%2Fissues%2F22160
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/22160
Reloadhttps://github.com/microsoft/TypeScript/issues/22160
Reloadhttps://github.com/microsoft/TypeScript/issues/22160
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/22160
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/22160
#57207https://github.com/microsoft/TypeScript/pull/57207
Implement a JSDoc @import taghttps://github.com/microsoft/TypeScript/issues/22160#top
#57207https://github.com/microsoft/TypeScript/pull/57207
Domain: JSDocRelates to JSDoc parsing and type generationhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20JSDoc%22
Domain: JavaScriptThe issue relates to JavaScript specificallyhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20JavaScript%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 5.5.0https://github.com/microsoft/TypeScript/milestone/179
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Feb 24, 2018https://github.com/microsoft/TypeScript/issues/22160#issue-299887401
#22158https://github.com/microsoft/TypeScript/issues/22158
Request for alternative import syntax to improve auto-complete experience #2371https://github.com/microsoft/TypeScript/issues/2371
Nexthttps://github.com/microsoft/TypeScript/issues/22160?timeline_page=1
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
Domain: JSDocRelates to JSDoc parsing and type generationhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20JSDoc%22
on Feb 24, 2018https://github.com/microsoft/TypeScript/issues/22160#event-1490159861
https://github.com/aozgaa
Arthur Ozga (aozgaa)https://github.com/aozgaa
on Feb 26, 2018https://github.com/microsoft/TypeScript/issues/22160#issuecomment-368607693
#14377https://github.com/microsoft/TypeScript/issues/14377
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Mar 9, 2018https://github.com/microsoft/TypeScript/issues/22160#issuecomment-371930983
#22445https://github.com/microsoft/TypeScript/issues/22445
#14844https://github.com/microsoft/TypeScript/issues/14844
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
on Mar 9, 2018https://github.com/microsoft/TypeScript/issues/22160#event-1514036877
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
Domain: JSDocRelates to JSDoc parsing and type generationhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20JSDoc%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Mar 9, 2018https://github.com/microsoft/TypeScript/issues/22160#event-1514168803
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Mar 9, 2018https://github.com/microsoft/TypeScript/issues/22160#issuecomment-371950165
#14844https://github.com/microsoft/TypeScript/issues/14844
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 9, 2018https://github.com/microsoft/TypeScript/issues/22160#event-1514169125
https://github.com/hybrist
Jan Olaf Martin (hybrist)https://github.com/hybrist
on May 7, 2018https://github.com/microsoft/TypeScript/issues/22160#issuecomment-387097198
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on May 7, 2018https://github.com/microsoft/TypeScript/issues/22160#issuecomment-387174887
microsofthttps://github.com/microsoft
on Jul 31, 2018https://github.com/microsoft/TypeScript/issues/22160#event-1763319986
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Aug 10, 2018https://github.com/microsoft/TypeScript/issues/22160#event-1783059701
https://github.com/nanxiaobei
南小北 (nanxiaobei)https://github.com/nanxiaobei
on Feb 28, 2021https://github.com/microsoft/TypeScript/issues/22160#issuecomment-787516896
https://github.com/jeffersoneagley
Jefferson Eagley (jeffersoneagley)https://github.com/jeffersoneagley
on Apr 14, 2021https://github.com/microsoft/TypeScript/issues/22160#issuecomment-819692934
Robin Blomberg (@RobinBlomberg)https://github.com/RobinBlomberg
https://github.com/RobinBlomberg
Robin Blomberg (RobinBlomberg)https://github.com/RobinBlomberg
on Apr 24, 2021https://github.com/microsoft/TypeScript/issues/22160#issuecomment-826063735
Jefferson Eagley (@jeffersoneagley)https://github.com/jeffersoneagley
Gorazd Breskvar (bh213)https://github.com/bh213
on Jun 3, 2022https://github.com/microsoft/TypeScript/issues/22160#event-6736387820
Fix Viewer API definitions and include in CIhttps://github.com/bh213/pdf.js/commit/85af3aee0c433646a7fa86da19fef8fc3cc785bd
85af3aehttps://github.com/bh213/pdf.js/commit/85af3aee0c433646a7fa86da19fef8fc3cc785bd
https://github.com/NemoStein
NemoStein (NemoStein)https://github.com/NemoStein
on Jul 11, 2022https://github.com/microsoft/TypeScript/issues/22160#issuecomment-1179914386
#46011https://github.com/microsoft/TypeScript/issues/46011
Matyáš Rousek (rousek)https://github.com/rousek
on Aug 10, 2022https://github.com/microsoft/TypeScript/issues/22160#event-7161698339
Fix Viewer API definitions and include in CIhttps://github.com/signosoft/pdf.js/commit/33214c6b0da52f4cbe8db4c18692fb1ff6b8c6b1
33214c6https://github.com/signosoft/pdf.js/commit/33214c6b0da52f4cbe8db4c18692fb1ff6b8c6b1
https://github.com/jespertheend
Jesper van den Ende (jespertheend)https://github.com/jespertheend
on Jan 26, 2023https://github.com/microsoft/TypeScript/issues/22160#issuecomment-1404399423
https://user-images.githubusercontent.com/2737650/214722408-e3beb6d1-d712-44ae-9bc0-74c145cc12d9.png
https://user-images.githubusercontent.com/2737650/214722548-3f599e4e-8c8b-44fc-9660-dfe0d90262da.png
https://user-images.githubusercontent.com/2737650/214722776-110a51a3-32c9-4499-9757-a724bbe5f5a3.png
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#57207https://github.com/microsoft/TypeScript/pull/57207
on Mar 26, 2024https://github.com/microsoft/TypeScript/issues/22160#event-12256534414
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
on Mar 26, 2024https://github.com/microsoft/TypeScript/issues/22160#event-12256557257
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
TypeScript 5.5.0https://github.com/microsoft/TypeScript/milestone/179
on Mar 26, 2024https://github.com/microsoft/TypeScript/issues/22160#event-12256557879
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Mar 26, 2024https://github.com/microsoft/TypeScript/issues/22160#issuecomment-2021459033
Oleksandr Tarasiuk (@a-tarasyuk)https://github.com/a-tarasyuk
https://github.com/waynesbrain
Wayn EsBrain (waynesbrain)https://github.com/waynesbrain
on Oct 16, 2024https://github.com/microsoft/TypeScript/issues/22160#issuecomment-2417509102
https://github.com/jrfso/jrfs/blob/7297019eee352bece45e3df5aac1c7bc4a257e03/packages/core/src/types.ts#L6https://github.com/jrfso/jrfs/blob/7297019eee352bece45e3df5aac1c7bc4a257e03/packages/core/src/types.ts#L6
https://github.com/waynesbrain
Wayn EsBrain (waynesbrain)https://github.com/waynesbrain
on Oct 17, 2024https://github.com/microsoft/TypeScript/issues/22160#issuecomment-2418383275
Turadg Aleahmad (@turadg)https://github.com/turadg
https://github.com/jespertheend
Jesper van den Ende (jespertheend)https://github.com/jespertheend
on Oct 17, 2024https://github.com/microsoft/TypeScript/issues/22160#issuecomment-2418931812
Wayn EsBrain (@waynesbrain)https://github.com/waynesbrain
https://github.com/waynesbrain
Wayn EsBrain (waynesbrain)https://github.com/waynesbrain
on Oct 17, 2024https://github.com/microsoft/TypeScript/issues/22160#issuecomment-2419308889
Jesper van den Ende (@jespertheend)https://github.com/jespertheend
typescript-eslint/typescript-eslint#8258https://github.com/typescript-eslint/typescript-eslint/issues/8258
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/22160
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/22160
Domain: JSDocRelates to JSDoc parsing and type generationhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20JSDoc%22
Domain: JavaScriptThe issue relates to JavaScript specificallyhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20JavaScript%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 5.5.0https://github.com/microsoft/TypeScript/milestone/179
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.