@witchcraft/spellcraft
    Preparing search index...

    Type Alias OnHook<TBase, T, TKey, TVal>

    OnHook: (obj: TBase, key: TKey, val: TVal) => void

    Type Parameters

    • TBase
    • T extends Record<string, { val: any }>
    • TKey extends keyof T = keyof T
    • TVal extends T[TKey]["val"] = T[TKey]["val"]

    Type Declaration