Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tsafe/lab/overwriteReadonlyProp.ts

🔩 The missing TypeScript utils
Latest
import * as tsafe from "https://deno.land/x/tsafe@v1.8.5/lab/overwriteReadonlyProp.ts";

Variables

Assign a value to a property even if the object is freezed or if the property is not writable Throw if the assignation fail ( for example if the property is non configurable write: false )