Closed
Description
In lib.dom.d.ts L13157 window.location is set as a read-only property but it can also be used to redirect a user by changing the value of it.
For example:
window.location = "/";
Error:
[ts] Cannot assign to 'location' because it is a constant or a read-only property.