TypeScript is an open-source programming language developed and maintained by Microsoft. It’s a strict syntactical superset of JavaScript, and adds optional static typing to the language. Use existing JavaScript code, incorporate popular JavaScript libraries, and call TypeScript code from JavaScript.
TypeScript compiles to plain JavaScript code which runs on any browser, in Node.js, or in any JavaScript engine that supports ECMAScript 3 (or newer).
TypeScript offers support for the latest JavaScript features, including those from ECMAScript 2015 and future proposals, like async functions and decorators, to help build robust components.
TypeScript is published under the Apache License 2.0.
Here’s our recommended tutorials to learn TypeScript. If you’re looking for free TypeScript programming books, check here.
1. TypeScript in 5 minutes by Microsoft
This tutorial teaches you how to build a simple web application with TypeScript.
The site offers a few other tutorials.
2. TypeScript Tutorial For Beginners: The Missing Guide (2020) by Valentino Gagliardi
Learn more with this TypeScript tutorial for beginners and start adding types to your JavaScript code in minutes! A decent knowledge of “vanilla” JavaScript is useful.
3. TypeScript Tutorials by TutorialsTeacher
These tutorials will help you learn TypeScript step by step. Tutorials are broken down into chapters, where each chapter contains several related topics that are packed with easy to understand explanations and real-world examples.
These tutorials are designed for beginners and professionals who want to learn TypeScript and how to use it in web application.
4. TypeScript Tutorial by JavaTpoint
This TypeScript tutorial includes all the topics which help to learn TypeScript. These are Introduction of TypeScript, Features of TypeScript, Components of TypeScript, TypeScript first program, TypeScript Types, TypeScript Variables, TypeScript Operators, TypeScript Decision-making, TypeScript Loops, Functions, Classes, Arrays, Namespace, Module, Ambient, and many more.
5. TypeScript Tutorial by keycdn
This article explains what exactly TypeScript is as well as showing you how to get started.
6. Getting Started with TypeScript by Andrew Chalkley
This article gets you up and running and introduces some basic syntax.
7. TypeScript Quick Start Guide by Trey Huffine
This article will show you how to quickly get up and running with TypeScript, and includes a discussion of the pros and cons of using TypeScript. With TypeScript, we’re able to define both simple and complex static types for the variables in our code.
All tutorials in this series:
Free Programming Tutorials | |
---|---|
Java | General-purpose, concurrent, class-based, object-oriented, high-level language |
C | General-purpose, procedural, portable, high-level language |
Python | General-purpose, structured, powerful language |
C++ | General-purpose, portable, free-form, multi-paradigm language |
C# | Combines the power and flexibility of C++ with the simplicity of Visual Basic |
JavaScript | Interpreted, prototype-based, scripting language |
PHP | PHP has been at the helm of the web for many years |
Ruby | General purpose, scripting, structured, flexible, fully object-oriented language |
Assembly | As close to writing machine code without writing in pure hexadecimal |
Swift | Powerful and intuitive general-purpose programming language |
Groovy | Powerful, optionally typed and dynamic language |
Go | Compiled, statically typed programming language |
Pascal | Imperative and procedural language designed in the late 1960s |
Perl | High-level, general-purpose, interpreted, scripting, dynamic language |
R | De facto standard among statisticians and data analysts |
COBOL | Common Business-Oriented Language |
Scala | Modern, object-functional, multi-paradigm, Java-based language |
Fortran | The first high-level language, using the first compiler |
Scratch | Visual programming language designed for 8-16 year-old children |
Lua | Designed as an embeddable scripting language |
Logo | Dialect of Lisp that features interactivity, modularity, extensibility |
Rust | Ideal for systems, embedded, and other performance critical code |
Lisp | Unique features - excellent to study programming constructs |
Ada | ALGOL-like programming language, extended from Pascal and others |
Haskell | Standardized, general-purpose, polymorphically, statically typed language |
Scheme | General-purpose, functional, language descended from Lisp and Algol |
Prolog | General purpose, declarative, logic programming language |
Forth | Imperative stack-based programming language |
Clojure | Dialect of the Lisp programming language |
Julia | High-level, high-performance language for technical computing |
SQL | Access and manipulate data held in a relational database management system |
Erlang | General-purpose, concurrent, declarative, functional language |
VimL | Powerful scripting language of the Vim editor |
OCaml | General-purpose, powerful, high-level language |
Awk | Versatile language designed for pattern scanning and processing |
Racket | Platform for programming language design and implementation |
BASIC | Family of general-purpose, high-level programming languages |
CoffeeScript | A very succinct programming language that transcompiles into JavaScript |
LaTeX | Professional document preparation system and document markup language |
Elixir | Relatively new functional language that runs on the Erlang virtual machine |
Dart | Client-optimized programming language for fast apps |
ABAP | Advanced Business Application Programming |
F# | General purpose, strongly typed, multi-paradigm language. Part of ML |
Chapel | Parallel-programming language in development at Cray Inc. |
Dylan | Multi-paradigm language, supports functional & object-oriented programming |
D | General-purpose systems programming language with a C-like syntax |
Solidity | Object-oriented, high-level language for implementing smart contracts |
XML | Set of rules for defining semantic tags that describe the structure and meaning |
Vala | Object-oriented language with a self-hosting compiler that generates C code |
ECMAScript | Best known as the language embedded in web browsers |
Kotlin | Statically typed, general-purpose programming language with type inference |
TypeScript | Strict syntactical superset of JavaScript, adding optional static typing |
Markdown | Plain text formatting syntax designed to be easy-to-read and easy-to-write |
Pike | Interpreted, general-purpose, high-level, cross-platform, dynamic language |
HTML | HyperText Markup Language |
Factor | Dynamic stack-based language |
Objective-C | General purpose language which is a superset of C |
Standard ML | One of the two main dialects of the ML language |
Alice | Educational language with an integrated development environment |
Agda | Dependently typed functional language based on intuitionistic type theory |
Icon | High-level, general-purpose language |
PureScript | Small strongly, statically typed language with expressive types |
Tcl | Dynamic language based on concepts of Lisp, C, and Unix shells |
Eiffel | Object-oriented language |