Skip to main content
Module

x/tsafe/lab/overwriteReadonlyProp.ts

🔩 The missing TypeScript utils
Go to Latest
import * as tsafe from "https://deno.land/x/tsafe@v1.4.1/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 )