Library API
    Preparing search index...

    Function Static

    • A class decorator that prevents instantiation of the class. Useful for grouping static methods together without allowing instances to be created.

      Type Parameters

      Parameters

      • value: T

        The class constructor to make static

      • context: ClassDecoratorContext<T>

        The decorator context

      Returns void | T

      A wrapper that throws a TypeError when instantiated

      @Static
      class MathUtils { ... }