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

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

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

A method call tuple containing the called method name first, and then the corresponding parameters used.

Type Parameters

T
optional
K extends keyof T = keyof T
definition: readonly [K, T[K] extends Func ? Parameters<T[K]> : unknown[]]