Skip to content

FunctionKeys<$Object>

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<$Object extends object>

Signature:

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

Type: ConditionalKeys<$Object, GenericFunction | undefined> & keyof $Object


Links to this page: