Type alias TrapFunction

TrapFunction: ((...args) => Promise<TrapReturn | undefined>)

Type declaration

    • (...args): Promise<TrapReturn | undefined>
    • Parameters

      • Rest ...args: any

        Any arguments passed to the trapped function

      Returns Promise<TrapReturn | undefined>

Generated using TypeDoc