PostPatchHandlerParams<Obj, MethodName>
Parameters passed to a PostPatchHandlerFn callback.
Import:
import type { PostPatchHandlerParams } from 'obsidian-dev-utils/obsidian/components/monkey-around-component';Signature:
export interface PostPatchHandlerParams<Obj extends object, MethodName extends MethodKeys<Obj>>Properties
| Property | Type | Description |
|---|---|---|
| originalMethod | ExtractFunction<Obj, MethodName> | The original (unpatched) method. Call via originalFn.call(originalThis, ...originalArgs). |
| patchedMethod | ExtractFunction<Obj, MethodName> | The patched method. |
Links to this page: