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 | DecoratorValidatorCallback;

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

ParameterType
programDecoratorContext
targetany
customArgsany[]

void | DecoratorValidatorCallback

PropertyType
namespace?string