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