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

x/tsafe/lab/index.ts

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

Functions

Like Function.prototype.bind() but for a function that receives their parameters wrapped in an object. See documentation for more details: https://docs.tsafe.dev/withdefaults