Please enable JavaScript.
Coggle requires JavaScript to display documents.
typescript (types (array (Array<string>, string[]), enums (Colors…
typescript
types
string
number
boolean
array
Array<string>
string[]
enums
Colors.Red
Colors[0]
any
dynamic type
oop
classes
methods
function name():
void - any
string
arow funciton
this is the same
properties
name: string = 'hello world'
constructors
only one constructor
super
public y: string
define variable
less code
object param
{param: value}