• 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)

    Since

    v0.16.3

    Deprecated

    Will be removed in 0.26, use @Option instead.

  • 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

    Deprecated

    Will be removed in 0.26, use @Option instead

Generated using TypeDoc