Skip to content

@serenity-is/corelib / CustomAttribute

Abstract Class: CustomAttribute

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

Base class for all Serenity custom attributes (metadata attached to types). Attributes are stored on typeInfo.customAttributes and queried via getCustomAttribute / hasCustomAttribute.

Extended by

Constructors

Constructor

new CustomAttribute(): CustomAttribute

Returns

CustomAttribute

Properties

[typeInfo]

static [typeInfo]: ClassTypeInfo<"Serenity.">

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