Loading problem…
Identify the line that fails in strict mode.
type User = { id: string profile: { name: string } } const user: Readonly<User> = { id: '1', profile: { name: 'Sam' } } user.id = '2' user.profile = { name: 'Lee' } user.profile.name = 'Lee'