- TypeScript - Ambients
- TypeScript - Modules
- TypeScript - Namespaces
- TypeScript - Objects
- TypeScript - Classes
- TypeScript - Interfaces
- TypeScript - Union
- TypeScript - Tuples
- TypeScript - Arrays
- TypeScript - Strings
- TypeScript - Numbers
- TypeScript - Functions
- TypeScript - Loops
- TypeScript - Decision Making
- TypeScript - Operators
- TypeScript - Variables
- TypeScript - Types
- TypeScript - Basic Syntax
- TypeScript - Environment Setup
- TypeScript - Overview
- TypeScript - Home
TypeScript Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
![TypeScript Tutorial](/typescript/images/typescript.jpg)
TypeScript Tutorial
TypeScript lets you write JavaScript the way you really want to. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. TypeScript is pure object oriented with classes, interfaces and statically typed pke C# or Java. The popular JavaScript framework Angular 2.0 is written in TypeScript. Mastering TypeScript can help programmers to write object-oriented programs and have them compiled to JavaScript, both on server side and cpent side.
Audience
Programmers coming from Object Oriented world will find it easy to use TypeScript. With the knowledge of TypeScript, they can build web apppcations much faster, as TypeScript has good toopng support.
Prerequisites
As a reader of this tutorial, you should have a good understanding of OOP concepts and basic JavaScript, to make the most of this tutorial.
Compile/Execute TypeScript Programs
We have provided Typescript Onpne Compiler which helps you to Edit and Execute the code directly from your browser. Try to cpck the icon to run the following Typescript code to print conventional "Hello, World!".
Try to change the value of string variable and run it again to verify the result.
var message:string = "Hello World" console.log(message)
On compipng, it will generate following JavaScript code.
//Generated by typescript 1.8.10 var message = "Hello World"; console.log(message);Advertisements