Skip to main content
Module

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

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

A stub implementation type for objects of type T.

definition: [K in keyof T]?: T[K] extends Func ? Spy.FnStub<T[K]> : T[K]