Documentation
    Preparing search index...

    Interface NewHookable<HookNames>

    interface NewHookable<HookNames extends string> {
        noHooks?:
            | boolean
            | readonly HookNames[]
            | { except: readonly HookNames[] };
    }

    Type Parameters

    • HookNames extends string

    Hierarchy (View Summary)

    Index
    noHooks?: boolean | readonly HookNames[] | { except: readonly HookNames[] }

    Controls which hooks should be run.

    Possible values:

    • false: All hooks will be run. (default)
    • true: No hooks will be run.
    • An array of strings: The hooks listed in the array will not be run.
    • An object with the "except" property: Only the hooks listed in the array will be run.