• Defines an abstract method to a class to produce a runtime error.

    Parameters

    • Class: Function

      The class to patch.

    • method: string

      The name of the method to patch.

    Returns void