Please enable JavaScript.
Coggle requires JavaScript to display documents.
TypeScript (TypeScript Language Features (Types (Type Annotations, Arrays,…
TypeScript
TypeScript Language Features
Variables
Types
Type Annotations
Arrays
Enumerations
Functions
Default Parameters
Overloads
Interfaces
Operators
Logical Operators
Increment and Decrement
Conditional Operator
Classes
Constructors
Access Modifiers
Properties and Methods
Scope
Property and Arrow Function
Modules
External Modules
Generic
Generic Functions
Generic Interfaces
Understanding the Runtime
Runtime Features
browser
server
Scope
Callbacks
Events
Extending Objects: extends prototype method constructor
Running TypeScript in a Browser
The Anatomy of a Web Browser
The Document Object Mode
Finding Elements
Changing Elements
Events
Network
AJAX
Storage
Session Storage
Local Storage
Web Workers
The Type System
Optional Static Types
Type Inference
Ambient Declarations
Object Orientation in TypeScript
Object Orientation in TypeScript
Encapsulation
Polymorphism
delegation
Design Patterns
Mixins
TypeScript Mixins: use function time you want to apply mixins
When to Use Mixins
Restrictions: You cannot use mixins with private members because the compiler will generate an error if the members are not
implemented in the augmented class
Exceptions, Memory, and Performance
Exceptions
Exception Handling
Throwing Exceptions
Memory
Performance
Install
npm install -g typescript
render file ts -> js: tsc greeter.ts
Using JavaScript Libraries
Creating Type Definitions
Converting a JavaScript Application