Better Payment 0.11.1 API
    Preparing search index...

    Function definePlugin

    • Returns the plugin unchanged, keeping its exact type, so that the methods and error codes it adds are typed on the payment object.

      Type Parameters

      Parameters

      • plugin: P

      Returns P