Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/tsafe/lab/index.ts

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