Angular Modernizer
    Preparing search index...

    Function readDecoratorString

    • Reads a string-valued property (selector, name, template, templateUrl) from the first object-literal argument of a decorator.

      Template literals with substitutions are returned as their raw source text so that offsets keep lining up with the .ts file.

      Parameters

      • decorator: Decorator
      • property: string

      Returns DecoratorStringValue | undefined