TypeScript has a number of utility types, which are types specifically created by TypeScript to solve a problem. In this article, let's look at the Readonly
type.
TypeScript Readonly Type
As the name suggests, the Readonly
type in TypeScript suggests that a particular type is read-only.