Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
variable replaceProperty
import { replaceProperty } from "https://deno.land/x/fresh_testing_library@0.13.1/deps/expect.ts";

type

<T extends object, K extends keyof T>(
object: T,
propertyKey: K,
value: T[K],
) => Replaced<T[K]>