Modularization in TypeScript

Brett Jones .NET, JavaScript, Technology Snapshot, Tutorial, TypeScript 7 Comments

UPDATE: Check out the new GitHub project that accompanies this post: TypeScript Modularization Demo.  In my last post, I introduced TypeScript, Microsoft’s new offering which layers static typing on top of JavaScript. Today I’d like to go further and discuss modularization and code organization. TypeScript has the ability to take advantage of a pair of JavaScript modularization standards – CommonJS …

Introduction to TypeScript Language and Tooling

Brett Jones .NET, HTML5, JavaScript, Technology Snapshot, Tutorial 7 Comments

TypeScript, Microsoft’s new open source JavaScript derivative, brings static typing along with a number of conventional OOP features to the Wild West of JavaScript. Much like CoffeeScript, this syntactical cousin of Ruby and Python compiles to plain old JavaScript. However, unlike CoffeeScript, TypeScript is in fact a superset of the JavaScript language. What this means is that you can actually write …