Library API
    Preparing search index...

    Function StringTag

    • Applies a string tag to a class and its prototype.

      Supports direct use as @StringTag and configured use as @StringTag('CustomName').

      Type Parameters

      Parameters

      • OptionaltagOrValue: string | T

        A custom tag string or the class constructor when used directly.

      • Optionalcontext: ClassDecoratorContext<T>

        The decorator context for direct decorator usage.

      Returns any

      The decorated class or a decorator that applies the tag.