Documentation
    Preparing search index...

    Type Alias HookCallback<KnownBindings, Value>

    HookCallback: (
        value: Value,
        resolver: ContainerResolver<KnownBindings>,
    ) => void | Promise<void>

    Shape of the hooks callback

    Type Parameters

    • KnownBindings extends Record<any, any>

      Known bindings record type

    • Value

      The resolved value type

    Type Declaration