Skip to main content
Module

x/rimbu/spy/index.ts>Spy.Obj

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Spy.Obj
import { type Spy } from "https://deno.land/x/rimbu@0.14.0/spy/index.ts";
const { Obj } = Spy;

The spied object type, where the object methods/functions are augmented with spy information.

Type Parameters

T
optional
M extends Spy.ObjMeta<T> = Spy.ObjMeta<T>
definition: [K in keyof T]: T[K] extends Func ? Spy.Fn<T[K]> : T[K] & { [[Spy.META]]: M; }