Filter

TypeScript

TypeScript starts from JavaScript and turns it into a safe language. You get gradual type checking, code completion, as well as static checking of the way your code hangs together. JavaScript never had the hard, protective shell that we're used to in contemporary languages. TypeScript acts like a programming exoskeleton, giving you safety, expressive power, and precision on top of the original language.

This course teaches you the necessary basics to get going and becoming productive with TypeScript. It grounds itself in concrete code and practical examples. Much of the time will be spent on exercises, producing running code.

You'll come away from the course with a clear sense of how TypeScript can help structure your everyday development. The tools in the course allow you to construct new code more quickly and maintain existing code more easily.

Visual Studio 2015 is used throughout the course, making use of its built-in TypeScript support.

    Target audience

    A solid JavaScript knowledge, corresponding to the level of our Modern JavaScript course or similar.


    Frontend development in JavaScript has always been rife with  pitfalls. An experienced team will know about these and take them into  account — using linters, tests, best practices, style guides, etc. All   these things help raise code quality, but they don't address the  fundamental problem: that JavaScript as a language is poorly equipped   for developing large applications.

    Why TypeScript?

    TypeScript   solves that problem. From day 1 with TypeScript, you're catching   mistakes that JavaScript blissfully ignores. You can build bigger and   more ambitiously, and gain better control over the architecture of the   application. At the same time, you bring all your knowledge of   JavaScript into your TypeScript development.

    A few contrasting examples: in JavaScript it's fine to forget a   property in an object literal, to call a function with the wrong number   of arguments, or to write code that will never be reached in a  program.  TypeScript flags all of these things as errors, often directly  in an IDE.


    What you will learn

    Day 1

    • Why TypeScript?
    • Classes
    • Interfaces
    • Typing and JavaScript
    • Structural and contextual typing
    • Enums
    • Generic types
    • Debugging

    Day 2

    • Refactoring to types: from JS to TS
    • Functions
    • A second look at OO
    • Modules
    • Testing
    • Deployment
    • CommonJS and AMD
    • TypeScript and the future

    Related articles

    • TypeScript generics in a dark castle

      In this post we explore TypeScript generics, using an example from the Angular course where the participants get to build their own Dark Castle...

      Read more
    • Why do we do this to ourselves?

      A couple of weeks ago, we discovered that some dates on our web site  were incorrect. Instead of showing the actual date of a course delivery,  certain pages would always show today's date...

      Read more
    • Predicting the upcoming JavaScript season

      Join us as we geek our over the upcoming Premier L... sorry, JavaScript season, and walk through the state of our favourite teams; Angular Rovers, FC React and TypeScript United!

      Read more
    • Why TypeScript?

      A few contrasting examples: in JavaScript it's fine to forget a  property in an object literal, to call a function with the wrong number  of arguments, or to write code that will never be reached in a program. TypeScript flags all of these things as errors, often directly in an  IDE.

      Read more
    • Brushing teeth and static checks

      The three-year-old at home doesn't like having his teeth brushed. But I, a crafty father, have developed a trick.

      Read more

    Course info

    Course code: T370
    Duration: 2 days
    Price: 21 500 SEK
    Language: English

    Course schedule

    Malmö
    17 Jan 2019Book now
    24 Jun 2019Book now

    Teachers

    Share

    Related courses

    Contact us for details

    +46 40 61 70 720
    info@edument.se


    All prices excluding VAT