Minko Gechev on Twitter: "In TypeScript, you can use Readonly<T> to prevent the reassignment of properties of an object. Using conditional types, you can implement your own DeepReadonly<T> with the snippet below!
![Adding "Open Read-Only" to right-click context menu in Windows | AutoCAD | Autodesk Knowledge Network Adding "Open Read-Only" to right-click context menu in Windows | AutoCAD | Autodesk Knowledge Network](https://knowledge.autodesk.com/akn-aknsite-ckeditor-image-uploads/b99356e8-2649-4aa2-ad80-0794f47bc68f.png)
Adding "Open Read-Only" to right-click context menu in Windows | AutoCAD | Autodesk Knowledge Network
![SGN File Opens As Read-Only - OpenRoads | OpenSite Wiki - OpenRoads | OpenSite - Bentley Communities SGN File Opens As Read-Only - OpenRoads | OpenSite Wiki - OpenRoads | OpenSite - Bentley Communities](https://communities.bentley.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-52/4747.ORS-Properties.bmp)