ClassMethodDecoratorContext

The typed object passed as the second argument to a standard method decorator, describing the method being decorated.

In more detail

context.name is the method's name, context.kind is "method", context.addInitializer registers setup code and context.metadata stores shared information. Similar types exist for classes, fields and accessors.

Related terms

Taught in

References