• Defines a global plugin and returns the plugin object.

    Type Parameters

    Parameters

    • plugin: T

      The plugin object to be defined.

    Returns GlobalPlugin

    The defined plugin object.