Readonly<Type> It will set all the properties of Type to read-only, which means the properties of the Type cannot be reassigned. Let's see with an example so that we can understand easily interface Person { name: string, age: number } let pe...
Markdown supported · ⌘↵ to post
No responses yet.