Documentation
    Preparing search index...

    Type Alias HooksState<ContainerBindings>

    State shared with hooks during application lifecycle. Represents the application instance parameters passed to hook functions.

    Type Parameters

    • ContainerBindings extends Record<any, any>

      Type representing the container bindings

    // Hook function receiving application state
    function myHook(app: Application<ContainerBindings>) {
    // Access application instance
    }