/typescript-examples

Some simple examples of what TypeScript can bring to the table

Primary LanguageTypeScript

Typescript Examples

Some simple examples of what TypeScript can bring to the table.

Created with the intention of demonstrating interesting parts of the language to dev folks at moo.com.

What is TypeScript

TypeScript is a language for application scale JavaScript development

It is a typed superset of JavaScript that compiles to plain JavaScript for all browsers and environments.

Benefits

  • Any existing JS is will compile.
  • IDE support will provide much more help.
    • Know when you have errors
    • Know what the expected types are for a function