The primitive types in TypeScript and JavaScript are: string, number, and boolean.
string: Represents a sequence of charactersnumber: Represents a number. It can be an integer like10or float like1.9. Everything is simply anumber.boolean: Used to representtrueorfalsevalues.