T

BeforeCallback

A before callback, which can replace the arguments by returning an array.

type BeforeCallback<Args extends unknown[], Res, Self> = (ctx: BeforeContext<Args, Res, Self>) => [...Args] | void