Class providing utility functions for working with metadata using the Reflect API.

Constructors

Methods

Constructors

Methods

  • Retrieves metadata associated with a key on a target.

    Type Parameters

    • Return

      The type of the metadata to retrieve.

    Parameters

    • metadataKey: string

      The key for which to retrieve metadata.

    • target: any

      The target object or constructor function.

    • Optional key: string | symbol

      The property key for which to retrieve metadata (optional).

    Returns Return

    • The retrieved metadata.

    Static

Generated using TypeDoc