René's URL Explorer Experiment


Title: Proposal: 'typeon' operator · Issue #4640 · microsoft/TypeScript · GitHub

Open Graph Title: Proposal: 'typeon' operator · Issue #4640 · microsoft/TypeScript

X Title: Proposal: 'typeon' operator · Issue #4640 · microsoft/TypeScript

Description: Proposal: 'typeon' operator The typeon operator references the type associated with an interface or class property, but in contrast to typeof, refers to it through the containing Type itself. I.e. directly queries the type set on the pro...

Open Graph Description: Proposal: 'typeon' operator The typeon operator references the type associated with an interface or class property, but in contrast to typeof, refers to it through the containing Type itself. I.e. ...

X Description: Proposal: 'typeon' operator The typeon operator references the type associated with an interface or class property, but in contrast to typeof, refers to it through the containing Type itsel...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Proposal: 'typeon' operator","articleBody":"## Proposal: 'typeon' operator\n\nThe `typeon` operator references the type associated with an interface or class property, but in contrast to `typeof`, refers to it through the containing _Type_ itself. I.e. directly queries the type set _on_ the property rather than the type _of_ an instance of it:\n\n``` ts\ninterface MyInterface {\n    prop: number;\n}\n\nlet val: typeon MyInterface.prop; // type of val is 'number'\n```\n\nThis would work with any property, including ones contained in anonymous and nested interfaces:\n\n``` ts\ninterface MyInterface {\n    obj: {\n        x: number;\n        y: number;\n    }\n}\n\nlet myX: typeon MyInterface.obj.x; // type of myX is now 'number'\n```\n\nGeneric interfaces:\n\n``` ts\ninterface MyInterface\u003cT> {\n    obj: {\n        x: T;\n        y: T;\n        func: (arg: T) => T;\n    }\n}\n\nlet f: typeon MyInterface\u003cnumber>.obj.func; // type of f is now (arg: number) => number\n```\n\nIt would be possible to reference the property types at any scope, including within the referenced declaration itself:\n\n``` ts\ninterface MyInterface {\n    val: string;\n    anotherVal: typeon MyInterface.val;\n\n    obj: {\n        x: number,\n        y: number;\n        func(arg:number): typeon MyInterface.obj.x;\n    }\n}\n```\n## The `this` type reference\n\nA special `this` type reference could be supported for this very purpose. `this` would be scoped to the closest containing interface, and that would also apply to anonymous ones:\n\n``` ts\ninterface MyInterface {\n    val: string;\n    anotherVal: typeon this.val;\n\n    obj: {\n        x: number,\n        y: number;\n\n        // Note: 'this' is scoped to the anonymous interface here. \n        // 'typeon this.val' would give an error.\n        func(arg: string): typeon this.x; \n    }\n}\n```\n\nIt would also be available in interfaces declared through `type` declarations and for purely anonymous ones:\n\n``` ts\ntype MyType = { \n    name: string;\n    age: number;\n    query: (username: typeon this.name) => typeon this.age;\n}\n\nlet test: { x: number, y: typeon this.x }\n```\n\nand to classes, which would also include references to the types of properties declared in base classes when using `this` (a possible extension could also include support for `super`):\n\n``` ts\nclass UserBase {\n    id: string;\n}\n\nclass User extends UserBase {\n    age: number;\n\n    chatWithUser(id: typeon this.id): { id: typeon User.id, age: typeon User.age } {\n\n        // The first argument for 'chatWith' is expected to be a string here, so this works.\n        chatWith(id); \n        ..\n    }\n}\n```\n\nIn a class declaration, `typon this` can only be used from instance positions. To reference static members, the name of the class would be used with `typeof` (note: no equivalent `typeof this` or a standalone `this` type is included in this proposal).\n\n``` ts\nclass Example {\n    val: number;\n    static val: string;\n\n    instanceFunc1(): typeon this.val; // OK, resolves to 'number'\n    instanceFunc2(): typeof Example.val; // OK, resolves to 'string'\n\n    static staticFunc1(): typeon Example.val; // OK, consistent with external references.\n    static staticFunc2(): typeof Example.val; // OK, resolves to 'string'\n}\n```\n\nThis was chosen to improve clarity and for consistency with generic classes, where the instantiated values of generic parameters are not available at static positions:\n\n``` ts\nclass Example\u003cT> { // The example is given where T = number\n    val: T;\n    static val: string;\n\n    instanceFunc1(): typeon this.val; // OK, resolves to 'number'.\n    instanceFunc2(): typeof Example.val; // OK, resolves to 'string'\n\n    static staticFunc1(): typeon Example\u003cnumber>.val; // OK, consistent with external references.\n    static staticFunc2(): typeof Example.val; // OK, resolves to 'string'\n}\n\nlet c = new Example\u003cnumber>();\n```\n## Example use cases\n\nUsing these ad-hoc references would make it easier to express of the semantic intention for the usage of the type, and automatically \"synchronize\" with future changes to the type of the referenced property. This both reduces effort and prevents human errors:\n\n``` ts\nclass UserBase {\n    // The type for 'id' has now changed, this usually means that all similar \n    // semantic usages of it would need to be manually checked and updated, \n    // this includes ones in derived classes.\n    id: string | number; \n}\n\nclass User extends UserBase {\n    age: number;\n\n    // The type of the 'id' argument and anonymous interface property has \n    // automatically synchronized with the one set in the base class!\n    // This ensures that they will always be consistent and will propagate type errors \n    // into the body of the function.\n    chatWithUser(id: typeon this.id): { id: typeon User.id, age: typeon User.age } { \n\n        // The first argument for 'chatWith' is expected to be a string here, \n        // but now the type of 'id' has changed to string | number so will error.\n        // This compile-time error is possible because the type was referenced with 'typeon'\n        chatWith(id); // Error! type 'string' is not assignable from 'string | number'\n        ..\n    }\n}\n```\n\nAnother effective use is to encapsulate and reference anonymous types within a class or interface declaration without needing to declare additional type aliases or interfaces. This yield a different style of coding:\n\n``` ts\nclass Process {\n    id: number;\n\n    state: {\n        memoryUsage: {\n            real: number;\n            virtual: number;\n            private: number;\n        };\n\n        processorUsage: Array\u003c{ index: number, percentage: number }>;\n    }\n\n    constructor() {\n        ...\n    }\n    ..\n}\n\nclass OSQuery {\n    static queryMemoryUsage(id: typeon Process.id): typeon Process.state.memoryUsage {\n        return { \n            real: OS.getRealUsage(id), \n            virtual: OS.getVirtualUsage(id), \n            private: OS.getPrivateUsage(id)\n        };\n    }\n\n    static queryProcessorsUsage(id: typeon Process.id): typeon Process.state.processorUsage {\n        result: typeon Process.state.processorUsage;\n\n        for (let i=0; i\u003c OS.processorCount; i++) {\n            result.push( { index: i, percentage: OS.getProcessorUsage(id, i) })\n        }\n\n        return result;\n    }\n\n    static queryProcessState(id: typeon Process.id): typeon Process.state {\n        return { \n            memoryUsage: this.queryMemoryUsage(id),\n            processorUsage: this.queryProcessorsUsage(id)\n        }\n    }\n    ..\n}\n```\n\nIn the conventional style of coding, 4 auxiliary interfaces or type aliases would need to be declared to achieve this: \n\n``` ts\ninterface ProcessorUsageEntry {\n  index: number;\n  percentage: number;\n}\n\ninterface MemoryUsage {\n  real: number;\n  virtual: number;\n  private: number;  \n}\n\ntype ProcessorID = number; // aliased in case that associated type changes\n\ninterface ProcessState {\n  id: ProcessorID;\n  memoryUsage: MemoryUsage;\n  processorUsage: Array\u003cProcessorUsageEntry>\n}\n```\n## Reusing the syntax to reference a class instance type\n\nIt is also possible to naturally extend the syntax to reference a type that only includes members of a class _instance_ (`typeof MyClass` only gives the type of the constructor):\n\n``` ts\nclass MyClass {\n    instanceProp: number;\n    static staticProp: string;\n\n    constructor(arg: boolean) {\n        ..\n    }\n}\n\nlet a: typeof MyClass; // 'a' now has type { staticProp: string, new (arg: boolean) }\n\nlet b: typeon MyClass; // 'b' now has type { instanceProp: number }\n```\n## Equivalent reduction to named type aliases\n\nThis can be internally implemented in the compiler like this:\n\nSource:\n\n``` ts\ninterface MyInterface {\n    val1: string;\n    val2: typeon this.val1;\n    val3: typeon this.val2;\n\n    obj: {\n        x: number,\n        y: number;\n\n        func(arg: string): typeon this.x; \n    }\n}\n```\n\nReduction:\n\n``` ts\ntype TypeOn_val1 = string;\ntype TypeOn_val2 = TypeOn_val1;\ntype TypeOn_val3 = TypeOn_val2;\n\ntype TypeOn_obj_x = number;\ntype TypeOn_obj_func_returnType = TypeOn_obj_x;\n\ntype TypeOn_obj = {\n    x: TypeOn_obj_x;\n    y: number;\n\n    func(arg: string): TypeOn_obj_func_returnType;\n}\n\ninterface MyInterface {\n    val1: TypeOn_val1;\n    val2: TypeOn_val2;\n    val3: TypeOn_val3;\n\n    obj: TypeOn_obj;\n}\n```\n\n**Example with generic interfaces**:\nSource:\n\n``` ts\ninterface MyGenericInterface\u003cT> {\n    val1: T;\n    val2: typeon val1;\n\n    obj: {\n        a: Array\u003cT>,\n\n        func(arg: T): typeon this.a; \n    }\n}\n```\n\nReduction (this uses the new [generic type alias declarations](https://github.com/Microsoft/TypeScript/issues/1616) introduced in 1.6):\n\n``` ts\ntype TypeOn_val1\u003cT> = T;\ntype TypeOn_val2\u003cT> = TypeOn_val1\u003cT>;\n\ntype TypeOn_obj_a\u003cT> = Array\u003cT>;\ntype TypeOn_obj_func_returnType\u003cT> = TypeOn_obj_a\u003cT>;\n\ntype TypeOn_obj\u003cT> = {\n    a: TypeOn_obj_a\u003cT>;\n\n    func(arg: T): TypeOn_obj_func_returnType\u003cT>\n};\n\ninterface MyGenericInterface\u003cT> {\n    val1: TypeOn_val1\u003cT>;\n    val2: TypeOn_val2\u003cT>;\n\n    obj: TypeOn_obj\u003cT>;\n}\n\n```\n## Possible issues and their solutions\n\nDetect and error on circular references:\n\n``` ts\ninterface SelfReferencingPropertyType {\n    x: typeon this.x; // Error: self reference\n}\n\ninterface EndlessLoop {\n    x: typeon this.y; // Error: indirect self reference\n    y: typeon this.x; // Error: indirect self reference\n}\n```\n\nThis would happen automatically through the reduction described above. The error currently reported through `type` is _\"Error: type 'TypeOn_EndlessLoop_y' circularly references itself\"_.\n## Current workarounds\n\nIt is currently possible to partially emulate this using `typeof` with a \"dummy\" instance of the type:\n\n``` ts\ninterface MyInterface {\n    obj: {\n        x: number,\n        y: number\n    }\n}\n\nlet dummy: MyInterface;\n\nlet val: typeof dummy.obj;\n\n```\n\nAnd even:\n\n``` ts\ninterface MyInterface {\n    obj: {\n        x: number,\n        y: typeof dummy.obj.x;\n    }\n}\n\ninterface AnotherInterface {\n    func(arg:number): typeof dummy.obj;\n}\n\nvar dummy: MyInterface;\n```\n\nThough these workarounds requires a globally scoped variable, and not always possible or desirable for use in declaration files. They also cannot support keywords like `this` (or `super`) thus cannot be used within anonymous types.\n\nReferences to generic parameters cannot be emulated:\n\n``` ts\ninterface MyInterface\u003cT> {\n    x: T;\n    y: typeon this.x; // Not possible to emulate this\n}\n```\n\n[Originally described at #4555]\n","author":{"url":"https://github.com/rotemdan","@type":"Person","name":"rotemdan"},"datePublished":"2015-09-04T14:12:40Z","url":"https://github.com/microsoft/TypeScript/issues/4640"}

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:a148ad19-6fe9-9152-bfcd-7a24eb878edc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAA7A:DB09F:D198E9:10C6067:6B010562
html-safe-nonce96b4c2ac632451a38015b3056a075a7b64a9897c4276d0d35bb1f50eaf1973b8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTdBOkRCMDlGOkQxOThFOToxMEM2MDY3OjZCMDEwNTYyIiwidmlzaXRvcl9pZCI6IjkwNjMyMzAxNTAwNDQzNTM4OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacea4abcd6bcc3f89a42142f4205ad229f4d50b0a8f3826852e0279a62f832f0a4
hovercard-subject-tagissue:104898491
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/4640/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6ec58636a6cbcf93a1300918e5cd49fe51391f9a3f198ade8cee1a1292bc8ec3/microsoft/TypeScript/issues/4640
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ec58636a6cbcf93a1300918e5cd49fe51391f9a3f198ade8cee1a1292bc8ec3/microsoft/TypeScript/issues/4640
og:image:altProposal: 'typeon' operator The typeon operator references the type associated with an interface or class property, but in contrast to typeof, refers to it through the containing Type itself. I.e. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerotemdan
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/4640#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F4640
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%2F4640
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/4640
Reloadhttps://github.com/microsoft/TypeScript/issues/4640
Reloadhttps://github.com/microsoft/TypeScript/issues/4640
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/4640
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/4640
Proposal: 'typeon' operatorhttps://github.com/microsoft/TypeScript/issues/4640#top
DuplicateAn existing issue was already createdhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Duplicate%22
Needs ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Proposal%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/rotemdan
Rotem Dan (rotemdan)https://github.com/rotemdan
on Sep 4, 2015https://github.com/microsoft/TypeScript/issues/4640#issue-104898491
generic type alias declarationshttps://github.com/Microsoft/TypeScript/issues/1616
#4555https://github.com/microsoft/TypeScript/issues/4555
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
on Sep 4, 2015https://github.com/microsoft/TypeScript/issues/4640#event-401354568
https://github.com/danquirk
Dan Quirk (danquirk)https://github.com/danquirk
on Sep 4, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-137796855
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Sep 4, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-137797207
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Sep 5, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-137914114
https://github.com/rotemdan
Rotem Dan (rotemdan)https://github.com/rotemdan
on Sep 5, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-137914522
https://github.com/benliddicott
benliddicotthttps://github.com/benliddicott
on Sep 7, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-138257942
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
Dan Quirk (@danquirk)https://github.com/danquirk
Rotem Dan (@rotemdan)https://github.com/rotemdan
https://github.com/yortus
Troy Gerwien (yortus)https://github.com/yortus
on Sep 10, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139215221
https://github.com/rotemdan
Rotem Dan (rotemdan)https://github.com/rotemdan
on Sep 10, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139228048
Troy Gerwien (@yortus)https://github.com/yortus
benliddicotthttps://github.com/benliddicott
this previous commenthttps://github.com/Microsoft/TypeScript/issues/4640#issuecomment-137914522
https://github.com/yortus
Troy Gerwien (yortus)https://github.com/yortus
on Sep 10, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139231742
Rotem Dan (@rotemdan)https://github.com/rotemdan
https://github.com/rotemdan
Rotem Dan (rotemdan)https://github.com/rotemdan
on Sep 10, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139241368
Troy Gerwien (@yortus)https://github.com/yortus
this commenthttps://github.com/Microsoft/TypeScript/issues/4640#issuecomment-137914522
https://github.com/yortus
Troy Gerwien (yortus)https://github.com/yortus
on Sep 10, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139248546
Rotem Dan (@rotemdan)https://github.com/rotemdan
https://github.com/benliddicott
benliddicotthttps://github.com/benliddicott
on Sep 10, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139262347
Rotem Dan (@rotemdan)https://github.com/rotemdan
Troy Gerwien (@yortus)https://github.com/yortus
https://github.com/yortus
Troy Gerwien (yortus)https://github.com/yortus
on Sep 10, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139273769
https://github.com/rotemdan
Rotem Dan (rotemdan)https://github.com/rotemdan
on Sep 10, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139286539
benliddicotthttps://github.com/benliddicott
#4233https://github.com/Microsoft/TypeScript/issues/4233#issuecomment-139285895
https://github.com/benliddicott
benliddicotthttps://github.com/benliddicott
on Sep 10, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139296146
#4233https://github.com/microsoft/TypeScript/issues/4233
https://github.com/d180cf
d180cfhttps://github.com/d180cf
on Sep 11, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139472512
https://github.com/rotemdan
Rotem Dan (rotemdan)https://github.com/rotemdan
on Sep 11, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139478504
d180cfhttps://github.com/d180cf
My original proposed syntaxhttps://github.com/Microsoft/TypeScript/issues/4555
https://github.com/d180cf
d180cfhttps://github.com/d180cf
on Sep 12, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139723318
https://github.com/rotemdan
Rotem Dan (rotemdan)https://github.com/rotemdan
on Sep 12, 2015https://github.com/microsoft/TypeScript/issues/4640#issuecomment-139738754
d180cfhttps://github.com/d180cf
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Needs ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Proposal%22
on Dec 10, 2015https://github.com/microsoft/TypeScript/issues/4640#event-487707704
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Feb 22, 2016https://github.com/microsoft/TypeScript/issues/4640#issuecomment-187377027
#6606https://github.com/microsoft/TypeScript/issues/6606
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 22, 2016https://github.com/microsoft/TypeScript/issues/4640#event-560370213
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
DuplicateAn existing issue was already createdhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Duplicate%22
on Feb 22, 2016https://github.com/microsoft/TypeScript/issues/4640#event-560370266
microsofthttps://github.com/microsoft
on Jun 19, 2018https://github.com/microsoft/TypeScript/issues/4640#event-1689613823
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/4640
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/4640
DuplicateAn existing issue was already createdhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Duplicate%22
Needs ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Proposal%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.