Skip to content

ntesmail/Typescript-Handbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript Handbook

  1. Basic Types

    • Boolean
    • Number
    • String
    • Array
    • Enum
    • Any
    • Void
  2. Interfaces

    • Our First Interface
    • Optional Properties
    • Function Types
    • Array Types
    • Class Types
    • Extending Interfaces
    • Hybrid Types
  3. Classes

    • Classes
    • Inheritance
    • Private / Public modifiers
    • Accessors
    • Static Properties
    • Advanced Techniques
  4. Modules

    • Splitting Across Files
    • Going External
    • Export =
    • Alias
    • Optional Module Loading and Other Advanced Loading Scenarios
    • Working with Other JavaScript Libraries
    • Pitfalls of Modules
  5. Functions

    • Functions
    • Function Types
    • Optional and Default Parameters
    • Rest Parameters
    • Lambdas and using 'this'
    • Overloads
  6. Generics

    • Hello World of Generics
    • Working with Generic Type Variables
    • Generic Types
    • Generic Classes
    • Generic Constraints
  7. Common Errors

    • Commonly Confusing Errors
  8. Mixins

    • Mixin sample
    • Understanding the sample
  9. Delcaration Merging

    • Basic Concepts
    • Merging Interfaces
    • Merging Modules
    • Merging Modules with Classes, Functions, and Enums
    • Disallowed Merges
  10. Type Inference

    • Basics
    • Best common type
    • Contextual Type
  11. Type Compatibility

    • Starting out
    • Comparing two functions
    • Enums
    • Classes
    • Generics
    • Advanced Topics
  12. Writing .d.ts files

    • Guidelines and Specifics
    • Examples

Releases

No releases published

Packages

No packages published