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

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

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

The resulting tuple type of the Spy.cls function containing the resulting spy class, and the metadata object containing extra information about the created instances.

Type Parameters

I
A extends any[]
definition: Construct<A, Spy.ClsObj<I, A>> & Spy.ClsMeta<I, A>