René's URL Explorer Experiment


Title: Support shorthand ambient module declarations and wildcard chars in module names · Issue #6615 · microsoft/TypeScript · GitHub

Open Graph Title: Support shorthand ambient module declarations and wildcard chars in module names · Issue #6615 · microsoft/TypeScript

X Title: Support shorthand ambient module declarations and wildcard chars in module names · Issue #6615 · microsoft/TypeScript

Description: follow up on #6614 Related issues: #247 (comment), #5787, #2709, #6371 (comment) Problems: Can not easily specify a loader extension for json or css (e.g. `json!a.json); currently every resources needs to have its own declaration Problem...

Open Graph Description: follow up on #6614 Related issues: #247 (comment), #5787, #2709, #6371 (comment) Problems: Can not easily specify a loader extension for json or css (e.g. `json!a.json); currently every resources n...

X Description: follow up on #6614 Related issues: #247 (comment), #5787, #2709, #6371 (comment) Problems: Can not easily specify a loader extension for json or css (e.g. `json!a.json); currently every resources n...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support shorthand ambient module declarations and wildcard chars in module names","articleBody":"follow up on https://github.com/Microsoft/TypeScript/issues/6614\n\nRelated issues: https://github.com/Microsoft/TypeScript/issues/247#issuecomment-173649104,  https://github.com/Microsoft/TypeScript/issues/5787, https://github.com/Microsoft/TypeScript/issues/2709, https://github.com/Microsoft/TypeScript/issues/6371#issuecomment-169597919\n#### Problems:\n- Can not easily specify a loader extension for json or css (e.g. `json!a.json); currently every resources needs to have its own declaration\n- Problem with migrating to .ts, with modules that do not have typings, and users just want to get by\n#### Proposal:\n- Allow for short hand module declarations:\n  \n  ``` ts\n  declare module \"foo\";\n  ```\n  \n  to be equivalent to:\n  \n  ``` ts\n  declare module \"foo\" {\n      var _temp: any;\n      export = _temp;\n  }\n  ```\n- Allow module names to have a wildcard character and match that in lookup\n  \n  ``` ts\n  declare module \"json!*\" {\n      let json: any;\n      export default json;\n  }\n  \n  import d from \"json!a/b/bar.json\";\n  // lookup:\n  //    json!a/b/bar.json\n  //    json!*\n  ```\n- Additional the module \"*\" would allow for matching all unknown modules in the system, which can be used as a way to suppress all missing module errors\n  \n  ``` ts\n  \n  declare module \"*\";\n  \n  import d from \"some\\unknown\\module\"; // no error, d is any\n  ```\n- Report no-implicit-any errors for modules declared using the shorthand notion\n  Open issue: is this reported on declaration or use sites\n","author":{"url":"https://github.com/mhegazy","@type":"Person","name":"mhegazy"},"datePublished":"2016-01-25T20:14:06Z","url":"https://github.com/microsoft/TypeScript/issues/6615"}

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:2f687556-5c19-6e00-5b26-506906359826
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB548:24E4B4:1E9694E:296161E:6AFBA2EC
html-safe-noncef49fc287919fb428266f6a545340672d5a3da800857eeff2ac17ed9f1c4be37e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTQ4OjI0RTRCNDoxRTk2OTRFOjI5NjE2MUU6NkFGQkEyRUMiLCJ2aXNpdG9yX2lkIjoiNjg3MzgyOTE2MzEyODMwMDI2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7a8bdbd65b3f7adf0e0f7dfe1f7ec8da3da7cf20614ca77c5e0700dd74799b76
hovercard-subject-tagissue:128627381
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/6615/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5bea29bfb4e423c7051097be457b27343adc3732139f5d9cb3fbc5fc14266815/microsoft/TypeScript/issues/6615
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5bea29bfb4e423c7051097be457b27343adc3732139f5d9cb3fbc5fc14266815/microsoft/TypeScript/issues/6615
og:image:altfollow up on #6614 Related issues: #247 (comment), #5787, #2709, #6371 (comment) Problems: Can not easily specify a loader extension for json or css (e.g. `json!a.json); currently every resources n...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemhegazy
hostnamegithub.com
expected-hostnamegithub.com
None03e5090f0cea887cafa036e3af34d7c668d83b5e9e9e03df72a90efb49b69cdf
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
release41f00295b9a35dca977890ab83b22788ab211dc8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/6615#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F6615
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%2F6615
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/6615
Reloadhttps://github.com/microsoft/TypeScript/issues/6615
Reloadhttps://github.com/microsoft/TypeScript/issues/6615
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests334 (334)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/pulse
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/6615
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/6615
Support shorthand ambient module declarations and wildcard chars in module nameshttps://github.com/microsoft/TypeScript/issues/6615#top
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jan 25, 2016https://github.com/microsoft/TypeScript/issues/6615#issue-128627381
#6614https://github.com/microsoft/TypeScript/issues/6614
#247 (comment)https://github.com/microsoft/TypeScript/issues/247#issuecomment-173649104
#5787https://github.com/microsoft/TypeScript/issues/5787
#2709https://github.com/microsoft/TypeScript/issues/2709
#6371 (comment)https://github.com/microsoft/TypeScript/issues/6371#issuecomment-169597919
Nexthttps://github.com/microsoft/TypeScript/issues/6615?timeline_page=1
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
on Jan 25, 2016https://github.com/microsoft/TypeScript/issues/6615#event-525499517
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
on Jan 25, 2016https://github.com/microsoft/TypeScript/issues/6615#event-525499637
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jan 25, 2016https://github.com/microsoft/TypeScript/issues/6615#event-525499652
https://github.com/mkosieradzki
Marcin Kosieradzki (mkosieradzki)https://github.com/mkosieradzki
on Jan 25, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174648830
#2709https://github.com/microsoft/TypeScript/issues/2709
https://github.com/dfaivre
David Faivre (dfaivre)https://github.com/dfaivre
on Jan 25, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174653509
https://github.com/nillis
Niels Timmermans (nillis)https://github.com/nillis
on Jan 25, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174655484
https://github.com/ivogabe
Ivo Gabe de Wolff (ivogabe)https://github.com/ivogabe
on Jan 25, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174655833
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jan 25, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174662318
Ivo Gabe de Wolff (@ivogabe)https://github.com/ivogabe
https://github.com/amcdnl
Austin (amcdnl)https://github.com/amcdnl
on Jan 26, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174737770
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Jan 26, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174861502
Austin (@amcdnl)https://github.com/amcdnl
https://github.com/geirsagberg
Geir Sagberg (geirsagberg)https://github.com/geirsagberg
on Jan 26, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174883436
https://github.com/jack4it
Jack Ma (jack4it)https://github.com/jack4it
on Jan 26, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174891444
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Jan 26, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-174958455
Jack Ma (@jack4it)https://github.com/jack4it
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jan 26, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-175147003
https://github.com/mayerwin
mayerwinhttps://github.com/mayerwin
on Nov 21, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-261941432
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Nov 21, 2016https://github.com/microsoft/TypeScript/issues/6615#issuecomment-262011576
http://www.typescriptlang.org/docs/handbook/modules.html#shorthand-ambient-moduleshttp://www.typescriptlang.org/docs/handbook/modules.html#shorthand-ambient-modules
http://www.typescriptlang.org/docs/release-notes/typescript-2.0.html#shorthand-ambient-module-declarationshttp://www.typescriptlang.org/docs/release-notes/typescript-2.0.html#shorthand-ambient-module-declarations
https://github.com/wenbaofu
奔跑在路上 (wenbaofu)https://github.com/wenbaofu
on Feb 1, 2017https://github.com/microsoft/TypeScript/issues/6615#issuecomment-276679043
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://cloud.githubusercontent.com/assets/20511885/22511797/c6644c86-e8d1-11e6-8556-4ced21619bcd.png
https://cloud.githubusercontent.com/assets/20511885/22511816/d7dbcf20-e8d1-11e6-9a1a-507f99ebdd2a.png
https://cloud.githubusercontent.com/assets/20511885/22511845/ed7b162e-e8d1-11e6-8b7c-d7fd3d0a0065.png
https://www.bountysource.com/issues/41187251-ambient-module-declarations-with-wildcards-giving-errors-official-docs-example-not-workinghttps://www.bountysource.com/issues/41187251-ambient-module-declarations-with-wildcards-giving-errors-official-docs-example-not-working
http://www.typescriptlang.org/docs/handbook/modules.html#shorthand-ambient-moduleshttp://www.typescriptlang.org/docs/handbook/modules.html#shorthand-ambient-modules
https://github.com/wenbaofu
奔跑在路上 (wenbaofu)https://github.com/wenbaofu
on Feb 1, 2017https://github.com/microsoft/TypeScript/issues/6615#issuecomment-276733627
Andy (Andrewkraft) (@Andy-MS)https://github.com/Andy-MS
https://github.com/aluanhaddad
Aluan Haddad (aluanhaddad)https://github.com/aluanhaddad
on Feb 1, 2017https://github.com/microsoft/TypeScript/issues/6615#issuecomment-276742048
systemjs/systemjs#1092https://github.com/systemjs/systemjs/issues/1092
https://github.com/aluanhaddad
Aluan Haddad (aluanhaddad)https://github.com/aluanhaddad
on Feb 1, 2017https://github.com/microsoft/TypeScript/issues/6615#issuecomment-276743312
https://github.com/wenbaofu
奔跑在路上 (wenbaofu)https://github.com/wenbaofu
on Feb 1, 2017https://github.com/microsoft/TypeScript/issues/6615#issuecomment-276747250
Aluan Haddad (@aluanhaddad)https://github.com/aluanhaddad
https://cloud.githubusercontent.com/assets/20511885/22521561/630e9f66-e8f3-11e6-9d89-be068c35b0d4.png
https://cloud.githubusercontent.com/assets/20511885/22521843/5d7ab8ae-e8f4-11e6-804d-1ce57da55b29.png
https://github.com/wenbaofu
奔跑在路上 (wenbaofu)https://github.com/wenbaofu
on Feb 1, 2017https://github.com/microsoft/TypeScript/issues/6615#issuecomment-276752556
Andy (Andrewkraft) (@Andy-MS)https://github.com/Andy-MS
https://cloud.githubusercontent.com/assets/20511885/22522133/7d0a6f1a-e8f5-11e6-8bee-d6039391e50e.png
https://cloud.githubusercontent.com/assets/20511885/22522299/07e4f7b8-e8f6-11e6-9ed2-e6219fa42555.png
https://github.com/aluanhaddad
Aluan Haddad (aluanhaddad)https://github.com/aluanhaddad
on Feb 1, 2017https://github.com/microsoft/TypeScript/issues/6615#issuecomment-276816615
https://github.com/drewlsvern
Joel Drewlo (drewlsvern)https://github.com/drewlsvern
on Mar 9, 2017https://github.com/microsoft/TypeScript/issues/6615#issuecomment-285496691
奔跑在路上 (@wenbaofu)https://github.com/wenbaofu
mprasthttps://github.com/mprast
on Mar 23, 2017https://github.com/microsoft/TypeScript/issues/6615#event-1011665625
🔧 add declarations.d.ts :/https://github.com/mprast/iso-console/commit/807e8f3001150d788a0fa18f63b0fba7169f9b81
807e8f3https://github.com/mprast/iso-console/commit/807e8f3001150d788a0fa18f63b0fba7169f9b81
https://github.com/Jack-Works
Jack Works (Jack-Works)https://github.com/Jack-Works
on May 27, 2017https://github.com/microsoft/TypeScript/issues/6615#issuecomment-304450931
microsofthttps://github.com/microsoft
on Jun 19, 2018https://github.com/microsoft/TypeScript/issues/6615#event-1689634489
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/6615
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/6615
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
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.