Please enable JavaScript.
Coggle requires JavaScript to display documents.
TypeScript - Coggle Diagram
TypeScript
Variables and values
Variable Declarations & Inference
Literal types
Type annotations
any type
Function arguments and return values
Nullish values
null
undefinded
void
Collections
Objects
Optional properties: ? operator
Index signatures
Arrays
Tuples
| // "OR"
Interfaces and type aliases
Inheritance
extends (heritage clause)
implements
Recursion
Type aliases
Type systems
Nominal (name)
Structural (structure)
Functions
Callable types
void
Construct signatures
this types
Classes
Access modifier keys
public
private
protected
Param properties
Top and bottom types
Top types
any
unknown
Bottom types
never
Modules & CJS interop
ES Module imports and exports
CommonJS Interop
Type Queries
keyof
typeof
Conditional types
Conditional expressions
Index access types
Pick
Union (| operator) and intersection types (& operator)
JSON types
Generics (parameterize types)
Extract and Exclude types
Mapped types