Discussions under Language Specification

Use this discussion page to discuss the language specification (docx, pdf), to provide feedback on code checkins, and to ask project questions.

To report a bug on the CodePlex project, use the Issue Tracker. To ask questions about using TypeScript, use StackOverflow.

Why not C# syntax

first post: kjitendra wrote: I really like what typescript has to offer. But I really wish that ...

latest post: Believe2014 wrote: DavidDriscoll wrote: Believe2014 wrote: Well, this TypeScript is ...

Type constraint in Generics

first post: Believe2014 wrote: Why can't TypeScript has C# styled type constraints? The Extends k...

latest post: jonturner wrote: The 'extends' keyword here refers to the shape of the type T. Stru...

Feature Request: Runtime Type Info and Annotations

first post: EisenbergEffect wrote: Hello TypeScript team. Congrats on reaching 1.0! Now, on to the nex...

latest post: wiktork wrote: Annotations seem to be pretty nice and simple: http://google.githu...

Interfaces with a twist

first post: Scriby wrote: I'm trying to find a typesafe way to declare mongoose models in nod...

latest post: jamesnw wrote: BTW: I don't disagree with you (I do see your point). In fact, I'm...

Please Support Generic Parameter Overloads

first post: omidkrad wrote: I originally created an issue for this, but wanted to add it here a...

latest post: omidkrad wrote: Great, so I created a new work item for it: https://typescript.code...

Clean syntax for nested classes

first post: qduaty wrote: In many object oriented languages, classes can be nested and access...

latest post: jamesnw wrote: There was an issue tracking this: https://typescript.codeplex.com/w...

How to override/hide methods with optional parameters

first post: omidkrad wrote: Please see comments below: class MyClassA { constructor(optional...

latest post: omidkrad wrote: Looks like compiler now accepts this kind of parameter override. (t...

Anonymous/Unnamed Modules

first post: omidkrad wrote: Hi, thanks for the great work on TypeScript. I'm liking it more th...

latest post: omidkrad wrote: Created issue item for this here. https://typescript.codeplex.com/w...

Using enums in definition files

first post: csnance wrote: Hi, I am having an issue with definition files. I want to declare...

latest post: jonturner wrote: Here's one solution: ```TypeScript //ShapeType.ts enum ShapeType {...

FeatureRequest: short syntax for bind.

first post: Akhristenko wrote: it is often necessary to transmit object method as callback, and we...