Skip to content

PatchMethodParams<$Object, MethodName>

Parameters passed to patchMethod: the same as MonkeyAroundComponent#registerMethodPatch takes.

Import:

import type { PatchMethodParams } from '@mnaoumov/obsidian-lib/components/monkey-around-component';

Signature:

export type PatchMethodParams<$Object extends object, MethodName extends MethodKeys<$Object>>

Signature:

type PatchMethodParams<$Object, MethodName> = MonkeyAroundComponentRegisterMethodPatchParams<
$Object,
MethodName
>

Type: MonkeyAroundComponentRegisterMethodPatchParams< $Object, MethodName >


Links to this page: