• Registers a language extension.

    Type Parameters

    Parameters

    • instance: L

      The language extension instance.

      The decorated property will be injected with the provided language extension instance.

    Returns (<K, T>(target: T, key: K) => void)

      • <K, T>(target: T, key: K): void
      • Type Parameters

        • K extends string | number | symbol

        • T extends Record<K, L>

        Parameters

        • target: T
        • key: K

        Returns void

Generated using TypeDoc