René's URL Explorer Experiment


Title: [Proposal] External Module Type · Issue #13231 · microsoft/TypeScript · GitHub

Open Graph Title: [Proposal] External Module Type · Issue #13231 · microsoft/TypeScript

X Title: [Proposal] External Module Type · Issue #13231 · microsoft/TypeScript

Description: Introduction Currently, TypeScript allows to ensure typings on differents levels using type, interface or class. There are numbers of scenarios where we want to ensure typings on the module level. Scenario 1: Module Interface Many librar...

Open Graph Description: Introduction Currently, TypeScript allows to ensure typings on differents levels using type, interface or class. There are numbers of scenarios where we want to ensure typings on the module level. ...

X Description: Introduction Currently, TypeScript allows to ensure typings on differents levels using type, interface or class. There are numbers of scenarios where we want to ensure typings on the module level. ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Proposal] External Module Type","articleBody":"## Introduction\r\n\r\nCurrently, TypeScript allows to ensure typings on differents levels using `type`, `interface` or `class`.\r\nThere are numbers of scenarios where we want to ensure typings on the `module` level.\r\n\r\n## Scenario 1: Module Interface\r\n\r\nMany libraries can be extended using plugins which are loaded as modules.\r\nThese libraries' maintainers could define an `interface` which should be implemented by the module.\r\n\r\n```ts\r\n// mylib.d.ts\r\nexport interface IPlugin {\r\n    init(): void;\r\n    build(context: PluginContext): boolean | PromiseLike\u003cboolean>;\r\n    dispose?: () => void;\r\n}\r\n\r\n//plugin.ts\r\nimport { IPlugin, PluginContext } from \"mylib\";\r\n\r\nexport implements IPlugin;\r\n                    ^^^ ERR: Module does not implement \"IPlugin\". Missing members: \"init\".\r\n\r\nexport function build(context: PluginContext) { return false; }\r\n```\r\n\r\n## Scenario 2: Module proxy\r\n\r\nImagine a library which abstract RPC services. On the server part, you define services as modules and on the client part, you get Promised proxies of these services which you can use to remote call your service methods.\r\n\r\n```ts\r\n// myrpclib.d.ts\r\nexport type Deferred\u003cT> = { [P in keyof T]: Promise\u003cT[P]>; };\r\nexport function createClient\u003cT>(url: string): Deferred\u003cT>;\r\n\r\n// services/entity.service.ts\r\nexport function getAll(): Promise\u003cEntity[]> { /* ... */ }\r\nexport function getOne(id: string): Promise\u003cEntity> { /* ... */ }\r\nexport function create(entity: Entity): Promise\u003cEntity> { /* ... */ }\r\nexport function update(entity: Entity): Promise\u003cEntity> { /* ... */ }\r\nexport function remote(id: string): Promise\u003cvoid> { /* ... */ }\r\nexport function sync(id: string): Entity { /* ... */ }\r\n\r\n// clients/client1.ts\r\nimport { createClient } from \"myrpclib\";\r\ntype RemoteService = typeof module(\"../services/entity.service\");\r\nconst client = createClient\u003cRemoteService>(\"http://host/entity.service\");\r\n```\r\n\r\n## Scenario 3: Inline module typing\r\n\r\nBy extending the preceding scenario, we could imagine that the library also provides a module loader plugin for its managed services.\r\n\r\n```ts\r\n// myrpclib.d.ts\r\ndeclare module \"rpc!*\" { \r\n    const res: any;\r\n    export default res;\r\n}\r\n\r\n// clients/client2.ts\r\ntype RemoteService = typeof module(\"../services/entity.service\");\r\nimport client from \"rpc!host/entity.service\" as Deferred\u003cRemoteService>;\r\n```\r\n\r\n## Scenario 4: Wildcart module typing\r\n\r\nThis time, we have a library that proxy services in a `Web Worker`.\r\n\r\n```ts\r\n// myrpclib.d.ts\r\ndeclare module \"worker!*\" { \r\n    const res: Deferred\u003ctypeof module(\"*\")>;\r\n    export default res;\r\n}\r\n\r\n// clients/client3.ts\r\ntype RemoteService = typeof module(\"../services/entity.service\");\r\nimport client from \"worker!../services/entity.service\";\r\n\r\nclient.getAll().then(/* ... */);\r\nclient.sync().then(/* ... */);\r\n// client type is \"Deferred\u003ctypeof module(\"../services/entity.service\")>\";\r\n```\r\n\r\n## Language Features\r\n\r\n#### Syntatic\r\n\r\n**What is the grammar of this feature?**\r\n- [ ] `export implements IPlugin` _(could be written `implements IPlugin`)_\r\n- [ ] `typeof module(\"module/path\")`\r\n- [ ] `import myModule from \"myModule\" as Type`\r\n- [ ] `typeof module(\"*\")` _in wildcart module definition_\r\n\r\n**Are there any implications for JavaScript back-compat? If so, are they sufficiently mitigated?**\r\n- [x] No backward compatibility implications\r\n\r\n**Does this syntax interfere with ES6 or plausible ES7 changes?**\r\n- [x] No conflicting keywords\r\n\r\n#### Semantic\r\n\r\n**What is an error under the proposed feature? Show many examples of both errors and non-errors**\r\n```ts\r\n//export implements...\r\n// Same as an interface\r\n\r\n//typeof module(\"module/path\");\r\ntype Moduletype = typeof module(\"module/path\"); // OK\r\ntype UnknownModuleType = typeof module(\"unknown/module\"); \r\n                                          ^^^^  // COMPILER ERROR: \"unknown/module\" does not exists\r\n\r\nconst test: typeof module(\"module/path\");  //OK\r\nfunction test(): typeof module(\"module/path\"); //OK\r\nfunction load(name: string): typeof module(name); //OK\r\n\r\n//import module as\r\nimport myModule from \"myModule\" as Type; //OK\r\nimport * as myModule from \"myModule\" as Type; //OK\r\nimport * as unknown from \"unknown\" as Type; //OK\r\nimport { someMember } from \"myModule\" as Type;\r\n                                          ^^^^  // COMPILER ERROR: Only default and global import are allowed!\r\n\r\n//typeof module(\"*\")\r\ndeclare module \"proxy!*\" { \r\n    const res: typeof module(\"*\"); // OK\r\n    export default res;\r\n}\r\n\r\ntype myType = typeof module(\"*\"); \r\n                            ^^^^  // COMPILER ERROR: module \"*\" does not exists\r\n```\r\n\r\n**How does the feature impact subtype, supertype, identity, and assignability relationships?**\r\n- [ ] Moderate impact\r\n- [ ] Modules should be treated as special Interfaces (or special Classes) so they could be used in same contexts and they can interact we others.\r\n- [ ] An import could be typed\r\n\r\n**How does the feature interact with generics?**\r\n- [x] Limited impact\r\n- [x] If a module will become a `type` (like an Interface is), it should interact with generics.\r\n\r\n#### Emit \r\n**What are the effects of this feature on JavaScript emit? Be specific; show examples**\r\n- [x] No effect\r\n\r\n**Does this emit correctly in the presence of variables of type ‘any’? Features cannot rely on runtime type information**\r\n- [x] No emit difference\r\n\r\n**What are the impacts to declaration file (.d.ts) emit?**\r\n- [x] Limited impact\r\n- [ ] declaration file should contain `export implements...` informations\r\n\r\n**Does this feature play well with external modules?**\r\n- [x] Exclusively for external modules\r\n\r\n#### Compatibility \r\n\r\n**Is this a breaking change from the 1.0 compiler? Changes of this nature require strong justification**\r\n- [ ] New keywords are introduced but it is only typings utilities\r\n\r\n**Is this a breaking change from JavaScript behavior? TypeScript does not alter JavaScript expression semantics, so the answer here must be “no”**\r\n- [x] No\r\n\r\n**Is this an incompatible implementation of a future JavaScript (i.e. ES6/ES7/later) feature?**\r\n- [x] No\r\n\r\n#### Other \r\n\r\n**Can the feature be implemented without negatively affecting compiler performance?**\r\n- [x] Yes\r\n\r\n**What impact does it have on tooling scenarios, such as member completion and signature help in editors?**\r\n- [ ] Moderate impact\r\n\r\n## TODO\r\n- [ ] Get validation from the community\r\n- [ ] Get feedback from the community and improve spec\r\n- [ ] Add more exemples if needed\r\n- [ ] Implementation details","author":{"url":"https://github.com/SomaticIT","@type":"Person","name":"SomaticIT"},"datePublished":"2016-12-30T18:11:51Z","url":"https://github.com/microsoft/TypeScript/issues/13231"}

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:218223de-ac8d-2a4b-829b-2ba9482fb068
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A1C:363D8E:9884F8:C54A8B:6B00DE06
html-safe-nonce122b9cce9a842447542d39c9f64b2f28f0ef4549d0c7e1305a1c5e0730bf11d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTFDOjM2M0Q4RTo5ODg0Rjg6QzU0QThCOjZCMDBERTA2IiwidmlzaXRvcl9pZCI6IjU5ODgxNTE5OTg4MDg2MzIzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc09e22f14f21a8e47694e24717c720c35bcfc881ea97fa3c46a893abb8e8c82a
hovercard-subject-tagissue:198178024
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/13231/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d5de74d9c0d3f4d344032ccc94b225473a9e8b394fcf85cb402aba3ba124347b/microsoft/TypeScript/issues/13231
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d5de74d9c0d3f4d344032ccc94b225473a9e8b394fcf85cb402aba3ba124347b/microsoft/TypeScript/issues/13231
og:image:altIntroduction Currently, TypeScript allows to ensure typings on differents levels using type, interface or class. There are numbers of scenarios where we want to ensure typings on the module level. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSomaticIT
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
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
release5425dc24e8bd8d6fca9641a12afc984825a43875
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/13231#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F13231
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%2F13231
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/13231
Reloadhttps://github.com/microsoft/TypeScript/issues/13231
Reloadhttps://github.com/microsoft/TypeScript/issues/13231
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)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/13231
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/13231
[Proposal] External Module Typehttps://github.com/microsoft/TypeScript/issues/13231#top
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/SomaticIT
Maxime LUCE (SomaticIT)https://github.com/SomaticIT
on Dec 30, 2016https://github.com/microsoft/TypeScript/issues/13231#issue-198178024
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
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
on Dec 30, 2016https://github.com/microsoft/TypeScript/issues/13231#event-908246428
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Dec 30, 2016https://github.com/microsoft/TypeScript/issues/13231#issuecomment-269804937
https://github.com/SomaticIT
Maxime LUCE (SomaticIT)https://github.com/SomaticIT
on Dec 30, 2016https://github.com/microsoft/TypeScript/issues/13231#issuecomment-269805420
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Dec 30, 2016https://github.com/microsoft/TypeScript/issues/13231#issuecomment-269812553
Allow a module to implement an interface #420https://github.com/microsoft/TypeScript/issues/420
Proposal: Get the type of any expression with typeof #6606https://github.com/microsoft/TypeScript/issues/6606
Explore supporting ES import() proposal  #12364https://github.com/microsoft/TypeScript/issues/12364
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Dec 31, 2016https://github.com/microsoft/TypeScript/issues/13231#issuecomment-269880270
#8358https://github.com/microsoft/TypeScript/issues/8358
https://github.com/aluanhaddad
Aluan Haddad (aluanhaddad)https://github.com/aluanhaddad
on Jan 1, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-269893950
#11611https://github.com/microsoft/TypeScript/issues/11611
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Sep 18, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-330192931
Aleksey-Bykovhttps://github.com/Aleksey-Bykov
https://github.com/aluanhaddad
Aluan Haddad (aluanhaddad)https://github.com/aluanhaddad
on Sep 19, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-330522261
Asad Saeeduddin (@masaeedu)https://github.com/masaeedu
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Sep 19, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-330544148
…https://github.com/microsoft/TypeScript/issues/13231
@masaeeduhttps://github.com/masaeedu
https://github.com/masaeeduhttps://github.com/masaeedu
#13231 (comment)https://github.com/microsoft/TypeScript/issues/13231#issuecomment-330522261
https://github.com/notifications/unsubscribe-auth/ADgPyHKOSgbA-lGlRHpoc73gXGE-Oijvks5sj7KbgaJpZM4LYUYIhttps://github.com/notifications/unsubscribe-auth/ADgPyHKOSgbA-lGlRHpoc73gXGE-Oijvks5sj7KbgaJpZM4LYUYI
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Sep 19, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-330545513
Asad Saeeduddin (@masaeedu)https://github.com/masaeedu
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Sep 19, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-330553326
…https://github.com/microsoft/TypeScript/issues/13231
@masaeeduhttps://github.com/masaeedu
https://github.com/masaeeduhttps://github.com/masaeedu
#13231 (comment)https://github.com/microsoft/TypeScript/issues/13231#issuecomment-330545513
https://github.com/notifications/unsubscribe-auth/ADgPyCrJg_cX0POkpd-qmzI3iPmrar58ks5sj8cPgaJpZM4LYUYIhttps://github.com/notifications/unsubscribe-auth/ADgPyCrJg_cX0POkpd-qmzI3iPmrar58ks5sj8cPgaJpZM4LYUYI
https://github.com/masaeedu
Asad Saeeduddin (masaeedu)https://github.com/masaeedu
on Sep 19, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-330556724
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Sep 19, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-330560534
https://github.com/aluanhaddad
Aluan Haddad (aluanhaddad)https://github.com/aluanhaddad
on Oct 2, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-333654615
Aleksey-Bykovhttps://github.com/Aleksey-Bykov
Asad Saeeduddin (@masaeedu)https://github.com/masaeedu
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Oct 2, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-333657531
Aluan Haddad (@aluanhaddad)https://github.com/aluanhaddad
https://github.com/aluanhaddad
Aluan Haddad (aluanhaddad)https://github.com/aluanhaddad
on Oct 2, 2017https://github.com/microsoft/TypeScript/issues/13231#issuecomment-333659581
Aleksey-Bykovhttps://github.com/Aleksey-Bykov
#17588https://github.com/microsoft/TypeScript/issues/17588
https://github.com/Ciantic
Jari Pennanen (Ciantic)https://github.com/Ciantic
on Apr 17, 2018https://github.com/microsoft/TypeScript/issues/13231#issuecomment-381937037
https://github.com/Jessidhia
Jessica Franco (Jessidhia)https://github.com/Jessidhia
on Oct 3, 2019https://github.com/microsoft/TypeScript/issues/13231#issuecomment-537758535
https://github.com/SomaticIT
Maxime LUCE (SomaticIT)https://github.com/SomaticIT
on Oct 13, 2019https://github.com/microsoft/TypeScript/issues/13231#issuecomment-541445584
Jessica Franco (@Jessidhia)https://github.com/Jessidhia
Maxime LUCE (SomaticIT)https://github.com/SomaticIT
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 13, 2019https://github.com/microsoft/TypeScript/issues/13231#event-2708824549
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/13231
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/13231
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
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.