TS Reference: Types
Quick reference for Types.
TS Reference — Types
Quick summary of Types with syntax and example.
Syntax
const x: number = 1;
Example
function add(a:number,b:number){return a+b;}
console.log(add(2,3));
Quick reference for Types.
Quick summary of Types with syntax and example.
const x: number = 1;
function add(a:number,b:number){return a+b;}
console.log(add(2,3));