The Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA. See credits at the end of this book whom contributed to the various chapters. Images may be copyright of their respective owners unless otherwise specified
Book created for educational purposes and is not affiliated with group(s), company(s) nor Stack Overflow. All trademarks belong to their respective company owners
https://goalkicker.com/
Content
1-1Content list
1-2About
1-3Chapter 1: Getting started with TypeScript
1-4Section 1.1: Installation and setup
1-5Section 1.2: Basic syntax
1-6Section 1.3: Hello World
1-7Section 1.4: Running TypeScript using ts-node
1-8Section 1.5: TypeScript REPL in Node.js
1-9Chapter 2: Why and when to use TypeScript
1-10Section 2.1: Safety
1-11Section 2.2: Readability
1-12Section 2.3: Tooling
1-13Chapter 3: TypeScript Core Types
1-14Section 3.1: String Literal Types
1-15Section 3.2: Tuple
1-16Section 3.3: Boolean
1-17Section 3.4: Intersection Types
1-18Section 3.5: Types in function arguments and return value. Number
1-19Section 3.6: Types in function arguments and return value. String
1-20Section 3.7: const Enum
1-21Section 3.8: Number
1-22Section 3.9: String
1-23Section 3.10: Array
1-24Section 3.11: Enum
1-25Section 3.12: Any
1-26Section 3.13: Void
1-27Chapter 4: Arrays
1-28Section 4.1: Finding Object in Array
1-29Chapter 5: Enums
1-30Section 5.1: Enums with explicit values
1-31Section 5.2: How to get all enum values
1-32Section 5.3: Extending enums without custom enum implementation
1-33Section 5.4: Custom enum implementation: extends for enums
1-34Chapter 6: Functions
1-35Section 6.1: Optional and Default Parameters
1-36Section 6.2: Function as a parameter
1-37Section 6.3: Functions with Union Types
1-38Section 6.4: Types of Functions
1-39Chapter 7: Classes
1-40Section 7.1: Abstract Classes
1-41Section 7.2: Simple class
1-42Section 7.3: Basic Inheritance
1-43Section 7.4: Constructors
1-44Section 7.5: Accessors
1-45Section 7.6: Transpilation
1-46Section 7.7: Monkey patch a function into an existing class
1-47Chapter 8: Class Decorator
1-48Section 8.1: Generating metadata using a class decorator
1-49Section 8.2: Passing arguments to a class decorator
1-50Section 8.3: Basic class decorator
1-51Chapter 9: Interfaces
1-52Section 9.1: Extending Interface
1-53Section 9.2: Class Interface
1-54Section 9.3: Using Interfaces for Polymorphism
1-55Section 9.4: Generic Interfaces
1-56Section 9.5: Add functions or properties to an existing interface
1-57Section 9.6: Implicit Implementation And Object Shape
1-58Section 9.7: Using Interfaces to Enforce Types
1-59Chapter 10: Generics
1-60Section 10.1: Generic Interfaces
1-61Section 10.2: Generic Class
1-62Section 10.3: Type parameters as constraints
1-63Section 10.4: Generics Constraints
1-64Section 10.5: Generic Functions
1-65Section 10.6: Using generic Classes and Functions:
1-66Chapter 11: Strict null checks
1-67Section 11.1: Strict null checks in action
1-68Section 11.2: Non-null assertions
1-69Chapter 12: User-defined Type Guards
1-70Section 12.1: Type guarding functions
1-71Section 12.2: Using instanceof
1-72Section 12.3: Using typeof
1-73Chapter 13: TypeScript basic examples
1-74Section 13.1: 1 basic class inheritance example using extends and super keyword
1-75Section 13.2: 2 static class variable example - count how many time method is being invoked
1-76Chapter 14: Importing external libraries
1-77Section 14.1: Finding definition files
1-78Section 14.2: Importing a module from npm
1-79Section 14.3: Using global external libraries without typings
1-80Section 14.4: Finding definition files with TypeScript 2.x