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

x/rimbu/spy/index.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@1.2.0/spy/index.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]