Skip to main content
Module

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

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Latest
type alias Spy.MethodCall
import { type Spy } from "https://deno.land/x/rimbu@1.2.1/spy/mod.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[]]