TS Reference: Interfaces
Quick reference for Interfaces.
TS Reference — Interfaces
Quick summary of Interfaces 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 Interfaces.
Quick summary of Interfaces with syntax and example.
const x: number = 1;
function add(a:number,b:number){return a+b;}
console.log(add(2,3));