Experimental attribute
Use to hook into another type's methods and run before the other methods run (similar to Harmony prefixes).
Return false to prevent the original method from running.

  • Type Parameters

    • T

    Parameters

    • type: Constructor<T>

    Returns ((target: any, _propertyKey: string | {
        name: string;
    }, _PropertyDescriptor: PropertyDescriptor) => void)

      • (target, _propertyKey, _PropertyDescriptor): void
      • Parameters

        • target: any
        • _propertyKey: string | {
              name: string;
          }
        • _PropertyDescriptor: PropertyDescriptor

        Returns void