Type Alias MiddlewareFn<TParameters, TReturn, TContext>

MiddlewareFn: InvokableFn<
    [
        arguments_: TParameters,
        next: NextFunc<TParameters, TReturn>,
        context: TContext,
    ],
    TReturn,
>

IMPORT_PATH: "@daiso-tech/core/utilities"

Type Parameters

  • TParameters extends unknown[] = unknown[]
  • TReturn = unknown
  • TContext = object