TypeScriptize your next D8 site

tompagabor
me@gabortakacs.com

TypeScript is receiving wider and wider acceptance in the frontend scene as a JavaScript alternative. It is a strongly-typed superset of JavaScript that compiles to plain JavaScript, on any browser, on any OS, and it is open source.

TypeScript lets you write JavaScript the way you really want to:

  • Support for ECMAScript 6 constructs (classes, modules) in today's ECMAScript 3 compatible browsers.
  • Static types and compilation helps catch mistakes & bugs earlier.
  • Structural interfaces & typing.
  • Enables programming in the large.

In Drupal 8, you can easily add JavaScript libraries to your website’s frontend, so you can start coding in TypeScript.

In our talk we are going to show you the biggest practical advantages of TypeScript and how to use it with the most common libraries, such as jQuery, domReady or Modernizr. Learn how to create type definitions on your own and how to start your own project written in TypeScript. Don’t know how to setup your development environment for TypeScript? Want to create classes from which you can inherit others? Come and see for yourself.

Session Track

Front end

Experience Level

Beginner

Drupal Version