[F] validateDecoratorUniqueOnNode
function validateDecoratorUniqueOnNode( context, type, decorator): boolean;Report duplicate applications of a decorator written directly on the type’s declaration. Inherited, copied, and augment-decorator applications do not count as duplicates here.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | DecoratorContext |
type | Type |
decorator | DecoratorFunction |
Returns
Section titled “Returns”boolean
Whether at most one matching application is present.