Author Archives: Sönke Sothmann

TypeScript 1.0 Released – the statically typed super set of JavaScript

Microsoft announced the availability of the first stable release 1.0 of TypeScript – the statically typed super set of JavaScript. Visual Studio 2013 Update 2 includes TypeScript 1.0 out of the box. Alternatively, there is also an add-on for Visual … Continue reading

Posted in Web as a Platform | Tagged , , , | 1 Comment

Declaration Merging with TypeScript

Declaration merging is a very interesting feature of TypeScript, the statically typed superset of JavaScript. As you will see, different things can be merged in TypeScript. The merging is always based on matching names, so as soon as two e.g. … Continue reading

Posted in Web as a Platform | Tagged , , | Leave a comment

Inner Classes with TypeScript

In TypeScript, there is no exlicit concept like inner classes. So what you cannot do in TypeScript is as follows: You can achieve something similar by merging a class with a module containing the inner class. The merging happens implicitely … Continue reading

Posted in Web as a Platform | Tagged , , , | 1 Comment

TypeScript – Accessing Enum Values via a String

Starting with TypeScript 0.9.7, accessing an enum value via a string got a little bit inconveniant. Before 0.9.7 you could do In 0.9.7, this will report “Index signature of object type implicitly has an ‘any’ type”. According to Microsoft, this … Continue reading

Posted in Web as a Platform | Tagged , , , | Leave a comment

TypeScript 1.0RC released

Microsoft has announced the availability of TypeScript 1.0RC, a release candidate of the final version 1.0. According to Microsoft, this release offers a “feature-complete TypeScript 1.0 language with a spec-conformant compiler and a production-level language service capable of working with … Continue reading

Posted in Web as a Platform | Tagged , , | Leave a comment

An introduction to TypeScript’s module system

The module system is an interesting feature of TypeScript, the statically typed superset of JavaScript. Modules provide the possibility to group related logic, encapsulate it, structure your code and prevent pollution of the global namespace. Modules can provide functionality that … Continue reading

Posted in Web as a Platform | Tagged , , , , , | Leave a comment

How to integrate the TypeScript compiler into a Gradle build

When you start using TypeScript, the statically typed superset of JavaScript, you probably want to integrate the TypeScript compiler into your build process. In my case, the application I’m working on is built using Gradle. In this blog post I … Continue reading

Posted in Build, config and deploy, Web as a Platform | Tagged , , | Leave a comment