Readonly<Type> Returns a new version of Type where all properties are set to readonly. This will produce a type error interface Todo { title: string;} const todo: Readonly<Todo> = { title: "Delete inactive users",}; todo.title = "Hello"; why freeze an object