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

x/windmill/node_modules/tsafe/lab/defineAccessors.d.ts>defineAccessors

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
variable defineAccessors
import { defineAccessors } from "https://deno.land/x/windmill@v1.396.1/node_modules/tsafe/lab/defineAccessors.d.ts";

type

<T extends Record<string, unknown>, K extends keyof T>(
obj: T,
propertyName: K,
propertyDescriptor: { get?: (() => T[K]) | undefined; set?: ((value: T[K]) => void) | undefined; },
) => void