Create Immutable Types in TypeScript

InstructorKamran Ahmed

Share this video with your friends

Send Tweet

Unlike JavaScript's const variable declarations, TypeScript allows you to create fully immutable types. In this lesson, we learn how to create immutable types in TypeScript with the help of as const, readonly and Readonly<T>.