Skip to content

FunctionKeys<Obj>

Keys of Obj whose value is callable — a method, or a function-like object such as a Debouncer. These are the members accepted by MonkeyAroundComponent#registerFunctionPatch.

Import:

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

Signature:

export type FunctionKeys<Obj extends object>

Signature:

type FunctionKeys<Obj> = ConditionalKeys<Obj, GenericFunction | undefined> & keyof Obj

Type: ConditionalKeys<Obj, GenericFunction | undefined> & keyof Obj


Links to this page: