Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.1/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]