Skip to content

@serenity-is/corelib / AttributeSpecifier

Type Alias: AttributeSpecifier

AttributeSpecifier = CustomAttribute | () => CustomAttribute | () => CustomAttribute

Defined in: src/base/system.ts:590

Union of forms accepted where an attribute can be specified: an attribute instance, an attribute class (instantiated with new), or a factory function returning an attribute. Factories are marked with isAttributeFactory === true.