Please enable JavaScript.
Coggle requires JavaScript to display documents.
ts-logo-512 - Coggle Diagram
-
BASICS
Core types
-
-
-
-
-
tuple
let role: [number, string]
-
-
-
-
-
function
function add( x : number, y : number ) : number { return x + y) }
function log( num : number,) : void { console.log( "the result is: ", num) }
let add : Function
let add : (a: number, b: number) => number
-
-
-
-
-
-
-
-
-
-
-
-
-
-