Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

around

  • around<F, R1, R2>(fn: F, handle: function): function

在函数周围添加前置/后置函数

Type parameters

Parameters

  • fn: F
  • handle: function
      • (next: F, ...args: Parameters<F>): R1
      • Parameters

        • next: F
        • ...args: Parameters<F> Rest

        Returns R1

Returns function

    • (...args: Parameters<F>): R1
    • Parameters

      • ...args: Parameters<F> Rest

      Returns R1

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.