Skip to content

PostPatchHandlerFn<Obj, MethodName>

A post-patch handler function that runs after a patch is applied.

Import:

import type { PostPatchHandlerFn } from 'obsidian-dev-utils/obsidian/components/monkey-around-component';

Signature:

export type PostPatchHandlerFn<Obj extends object, MethodName extends MethodKeys<Obj>>

Signature:

type PostPatchHandlerFn<Obj, MethodName> = (
params: PostPatchHandlerParams<Obj, MethodName>
) => MaybeReturn<ExtractFunction<Obj, MethodName>>

Type: ( params: PostPatchHandlerParams<Obj, MethodName> ) => MaybeReturn<ExtractFunction<Obj, MethodName>>


Links to this page: