Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 352 Bytes

File metadata and controls

16 lines (13 loc) · 352 Bytes

typeScript

typescript basic concepts

Tuple example

A tuple is a typed array with a pre-defined length and types for each index.

Named tuples:

allow us to provide context for our values at each index. destructive tuple: Since tuples are arrays we can also destructure them

Generics

Enums

Interface

Utility Types

Union & intersection