Mastering TypeScript : A Comprehensive Guide to Modern JavaScript Development with TypeScript [1 ed.] 9798223673965

TypeScript is a powerful programming language that extends jаvascript, providing a statically typed environment for buil

2,103 141 3MB

English Pages 146 Year 2023

Report DMCA / Copyright

DOWNLOAD EPUB FILE

Table of contents :
Install TypeScrip
Build your first TypeScript application
Interfaces
Classes
Run the TypeScript web application
Basic data types
Boolean values
Number
String
Array
Tuple
Multiple constants (enum)
Type Any
Type Void
Type Never
Type Object
Type assertions
Note about the keyword let
Declaring variables
Statements by var
Scoping rules
Variable capturing quirks
Let statements
Block-scoping
Block-scoped variable capturing
Const statements
Destructuring
Array destructuring
Object destructuring
Property renaming
Default values
Function declarations
Spread
Interfaces
Simple interface
Optional features
Readonly properties
Readonly vs. const
Function Types
Indexable Types
Class Types
Expand the interfaces
Hybrid Types
Expanding the facades
Varieties in TypeScript

Genetics

Selector is private
Selector protected
Readonly modifier
Parameter properties
Accessors
Static Properties
Abstract Classes

Functions

Types of functions
Type the function type
Type the function type
Type inference
Default and optional transactions And function
Remaining transactions (Rest Parameters)
Keywords this
Keywords this and arrow functions
Parameters of this
This parameters in callbacks
Overloads
Types generalized in TypeScript

Generalized Types

Generalized Classes
Generalized Constraints
Use of generalized constraints in species transactions
Use of Class Types in Generics
Multiple constants in TypeScript
Numeric enums
String enums
Heterogeneous multiple constants
Ambient enums
Callback Types
Optional transactions in callback functions

Mastering TypeScript : A Comprehensive Guide to Modern JavaScript Development with TypeScript [1 ed.]
 9798223673965

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
Recommend Papers