Function BindOption

  • Binds an option to the given property. Does not register the option.

    Note: This is a legacy experimental decorator, and will not work with TS 5.0 decorators

    Type Parameters

    Parameters

    • name: K

    Returns (<IK>(target, key) => void)

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

        • IK extends PropertyKey

        Parameters

        Returns void

    Since

    v0.16.3

  • Binds an option to the given property. Does not register the option.

    Note: This is a legacy experimental decorator, and will not work with TS 5.0 decorators

    Parameters

    • name: string

    Returns ((target, key) => void)

      • (target, key): void
      • Parameters

        • target: {
              application: Application;
          } | {
              options: Options;
          }
        • key: PropertyKey

        Returns void

    Since

    v0.16.3

Generated using TypeDoc