Introduction
For programs to be useful, we need to be able to work with some of the simplest units of data: numbers, strings, structures, boolean values, and the like.In TypeScript, we support much the same types as you would expect in JavaScript, with a convenient enumeration type thrown in to help things along.The most basic datatype is the simple true/false value, which JavaScript and TypeScript call a boolean value.