Overview
Explore the world of TypeScript in this 52-minute conference talk by Dominik Kundel at Devoxx. Dive into the advantages of using TypeScript, a statically-typed language that enhances JavaScript with a stronger type system. Learn when to implement TypeScript in your projects and how to get started immediately. Discover key concepts such as type annotations, union types, interfaces, generics, and definition files. Follow along with code examples demonstrating TypeScript's features, including creating functions, accessing and writing content, and working with databases. Gain insights into TypeScript compilation, the allowJS option, decorators, and JSX support. By the end of this talk, acquire the knowledge needed to begin incorporating TypeScript into your development workflow and improve your JavaScript projects.
Syllabus
Introduction
Nodejs
Why TypeScript
Code Example
Annotating
Union types
Removing type annotations
Why TypeScript doesnt add type checks
Creating a new function
Accessing Content
Writing to Content
Using Interfaces
Using Generics
Requiring Events
Definition Files
Compile
Arm
Export database class
Create database instance
TypeScript cheating
Creating an out directory
AllowJS
Database JS
decorators
log arguments operator
jsx
Summary
Taught by
Devoxx