• Decorator to enforce static implementation of an interface. Warns on compile time if the interface is not implemented.

    Type Parameters

    • I

    Returns (<T>(constructor: T, ...args: unknown[]) => void)

    A decorator function

      • <T>(constructor, ...args): void
      • Type Parameters

        • T

        Parameters

        • constructor: T
        • Rest...args: unknown[]

        Returns void