Readonly<T> not working #28968
Labels
Fixed
A PR has been merged for this issue
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
Suggestion
An idea for TypeScript
TypeScript Version: 3.3.0-dev.20181208
Search Terms:
Readonly
Code
Expected behavior:
Should not let me write.
Actual behavior:
It does.
Playground Link:
http://www.typescriptlang.org/play/#src=const%20a%3A%20Readonly%3Cnumber%5B%5D%3E%20%3D%20%5B1%2C2%2C3%5D%0Aa%5B1%5D%20%3D%204%0A
Related Issues:
The text was updated successfully, but these errors were encountered: