real-enums
    Preparing search index...

    Interface PredicateDecorator

    A decorator that works under both decorator implementations in use: TC39 standard decorators (@is() accessor isOpen!: boolean) and the legacy ones every Ember app compiles with via decorator-transforms (@is() declare isOpen: boolean).

    • Type Parameters

      Parameters

      • target: ClassAccessorDecoratorTarget<This, boolean>
      • context: ClassAccessorDecoratorContext<This, boolean>

      Returns ClassAccessorDecoratorResult<This, boolean>

    • Parameters

      • prototype: Enum
      • key: string

      Returns void