Skip to content

[I] DecoratorFunction

Signature for a decorator JS implementation function. Use @typespec/tspd to generate an accurate signature from the extern dec

DecoratorFunction(
program,
target, ...
customArgs): void | DecoratorValidatorCallbacks;

Signature for a decorator JS implementation function. Use @typespec/tspd to generate an accurate signature from the extern dec

ParameterType
programDecoratorContext
targetany
customArgsany[]

void | DecoratorValidatorCallbacks

PropertyType
namespace?string