Saturday, July 21, 2018

Typescript Language Complete tutorials and Examples

Typescript is a popular opensource programming scripting language. I have written a lot of articles about typescript language. This is a summary page of all articles in order

Typescript  tutorial

To have a complete understanding of typescript, Please read below articles for complete understanding. All the posts provide a complete basic understanding of language features and detailed explanation with examples
All the posts are in order by featurewise.
Learn typescript tutorials with examples

Latest Typescript Update

Learn Typescript 3.0 features This is latest typescript language and compiler with structural changes and features - Project references, Tuple Types, UnknownType and API Breaking changes.

Typescript tutorial for Beginners

  1. Install, setup and Hello world This is starting an article in the typescript series. This explains why language is required, advantages, disadvantages of typescript and basics of the compilation process. And also provides installation of typescript, tsc command options. It has a basic example of the Hello world demo example
  2. Datatypes Basics with examplesThis tutorial is to provide basics data types of language and their usages, explanations with basic examples.
  3. Learn String Object with examples. This article is about String object syntax, usages, various methods and also has various basic examples.
  4. Enumeration Basics with examples. This has detailed explains about Enum declaration, various examples like string and enum conversions.
  5. Learn InstanceOf, typeOf operator with examples. This will have a clear explanation and example usage for typeOf and instanceOf operator in typescript.
  6. Operators - Various operators listed out here

Object-Oriented Concepts:

Function and Constructor overload:- This has an explanation of ways to create an overload of a function and constructor.

Basic Common Examples

Typescript Compiler

 tsconfig.json options:- This post describes language compiler options in typescript.

Object Convert examples

String to Date or Date to String example This post is about different ways to convert string to date and date to string in javascript as well as typescript
I will continue to post my understanding on typescript language.
String to Boolean or Boolean to String example This article is finding ways to convert a string to boolean or boolean to string with examples.
Map JSON to Interface mapping  This explained about different ways of convert JSON  object to interface or classes. This includes JSON custom object, parent and child object with examples.