Core Types in TypeScript

Last updated on 4 Jan, 2023

In this article we discuss the core types supported by TypeScript.


First core type is number. In JavaScript or TypeScript, there is only one type that deals with numbers. There are no different types for integers, float or big numbers.


All texts are of type string. String literals are created using double quotes, single quotes or back tick mark.

"This is a string"
'This is a string'
`This is a string`


true and false comes under boolean type.

--- ○ ---
Joby Joseph
Web Architect