Interface ClassDecoratorContext<Class>
interface ClassDecoratorContext<Class> {
kind: "class";
metadata: DecoratorMetadataObject;
name: string;
addInitializer(initializer: ((this: Class) => void)): void;
}
kind: "class";
metadata: DecoratorMetadataObject;
name: string;
addInitializer(initializer: ((this: Class) => void)): void;
}
Type Parameters
Index
Properties
Methods
Properties
Readonly
kind
kind: "class"
The kind of element that was decorated.
Readonly
metadata
Readonly
name
name: string
The name of the decorated class.
Context provided to a class decorator.