function applyMagicimport { applyMagic } from "https://deno.land/x/js_magic@v1.4.2/index.ts"; applyMagic<T extends new (...args: any[]) => any>(ctor: T, ctx?: object): TapplyMagic<T extends (...args: any[]) => any>(fn: T, proxyOnly: boolean): TapplyMagic<T extends object>(obj: T): TType ParametersT extends new (...args: any[]) => anyParametersctor: Toptionalctx: objectReturnsTType ParametersT extends (...args: any[]) => anyParametersfn: TproxyOnly: booleanReturnsTType ParametersT extends objectParametersobj: TReturnsT