Answers for "how to declare a boolean in typescript"

8

typescript integer

// There is no int type, use number
const myInt: number = 17;
const myDecimal: number = 17.5;
Posted by: Guest on September-23-2020
1

how to declare a boolean in typescript

let isDone: boolean = false;
Posted by: Guest on November-03-2020

Code answers related to "how to declare a boolean in typescript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language