[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
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | DecoratorContext |
target | any |
…customArgs | any[] |
Returns
Section titled “Returns”void | DecoratorValidatorCallback
Properties
Section titled “Properties”| Property | Type |
|---|---|
namespace? | string |