Showing all posts tagged: 'TypeScript'

A 4-post collection

TypeScript 2.0 RC with Visual Studio Code

You know how much I love new, shiny things? For some odd reason, I'm compelled to try the latest and 'greatest' as soon as I know it's available. This, oftentimes, has inadvertent side effects such as breaking my machine and causing me undue stress. I also choose to do these upgrades/updates close to upcoming talking engagements. In summary, I'm a gluten for self-inflicted punishment. On the other side, I suffer so you don't have to :) Today, I decide to test the latest version of TypeScript 2.0 RC which was released only 2 days ago. I also chose to …[read more]


Working with TypeScript in Visual Studio Code - a pair made for each other

TypeScript is a new(ish), open source language that is a superset of JavaScript. TypeScript was designed to bring object-oriented features along with ES6 support. Any valid JavaScript is TypeScript and all TypeScript code compiles to nice, clean JavaScript. With ES6 (EcmaScript2015) officially ratified, TypeScript continues to offer great forward-compatibility with newly added features all the time and therefore, it remains a great language for developing JavaScript. This fantastic language now has a great companion: Visual Studio(VS) Code. VS Code is the new lightweight code editor from Microsoft and was in fact built with TypeScript! Consequently, it's only natural …[read more]


Setting up a Gulp task with Visual Studio Code

As a web developer, certain tools have become indispensable. I can't even imagine having to do any front-end work without npm, Grunt or Gulp. In fact, these tools are so great that the upcoming release of ASP.NET has thrown away proprietory package and task managers in favour of the widely adopted and established tools used by the community. And these tools are now first class citizens both in Visual Studio and Visual Studio Code. Classic .NET developers and avid Visual Studio users will have a lot of catching up to do. But we are here to help! Today, I …[read more]


Getting started with TypeScript and Sublime Text

UPDATED: This post has been rewritten around the official TypeScript plugin Typescript is awesome, period. TypeScript, in case you don't know, is a superset of JavaScript that allows you to use Object Oriented principles in order to write code that can be compiled to JavaScript. In effect, you can use optional static typing, modules, interfaces and classes to write your code and once the code is compiled, the end result is an idiomatic javascript code that resembles the code that you would directly javascript if you wanted to create classes etc without the help of TypeScript. The generated javascript can …[read more]