How to declare a boolean in TypeScript? Subash Chandran 15th December 2021 Leave a Comment // There is no int type, use number const myInt: number = 17; const myDecimal: number = 17.5; Curly hair, very fair, please share 🙂Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to email a link to a friend (Opens in new window) Related See also How to change custom font to bold italic in Java? Snippets, TypeScript How to declare a boolean in TypeScript? Change font size A Decrease font size. A Reset font size. A Increase font size.