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 report issues on the Visual Studio tools, use Connect. To ask questions about using TypeScript, use StackOverflow.

SammyJs: module and function impossible to define in 0.9?

first post: nvivo wrote: DefinitelyTyped has a definition for SammyJS that use modules to or...

latest post: danquirk wrote: The export assignment feature combined with merged declarations are...

Single file output does not work with extends

first post: PSP2 wrote: Extends clause does not work when concatenating and emitting output...

latest post: logotype wrote: Hi Try to switch the order: $ tsc --out out.js Child.ts Parent.ts ...

Multiple extends

first post: NN wrote: According to TS grammar: InterfaceDeclaration: interface Identifi...

latest post: NN wrote: Actually it is fixed in 0.9. So the discussion is closed.

Does the word "Generics" have special meaning?

first post: Sohnee wrote: I was testing generics with the following code and if I name the mo...

latest post: Sohnee wrote: This is even better news - the chances are that I am mostly not stu...

"Safer mode" for TypeScript (or: the ability to avoid bad JS features)

first post: ncryptor wrote: I know that TypeScript is designed to be a superset of JavaScript. ...

latest post: nvivo wrote: This kind of request has been made before by me and others. For now...

Something like C# extension methods

first post: danfma wrote: When I tried to extend the string class (using the prototype based ...

latest post: manast wrote: **MgSam wrote:** > In general, extending the prototype of built in ...

Compile-Time Const

first post: Griffork wrote: I read up on a suggestion to add the const keyword (similar to C++ ...

latest post: nabog wrote: **jonturner wrote:** > > In general, we've tried to keep TypeScrip...

Read-only members

first post: Barguast wrote: Are there are near-future plans to add readonly member support to ...

latest post: BSick7 wrote: As part of the discussion, will "readonly" convert to: Object.defin...

TypeScript import and namespaces

first post: kostiknoir wrote: Part #1 (based on my knowledge of Java/ActionScript/C# and what I ...

latest post: Griffork wrote: I just discovered today that you can't compile commonjs files into ...

"dynamic" keyword for classes/variables

first post: bmantuano wrote: Have there been any discussions on supporting a "dynamic" keyword f...

latest post: bmantuano wrote: Another help would be to allow a "Class" type - which by default wo...