[F] createDecoratorDefinition
Type Parameters
Type Parameter |
---|
T extends TypeKind |
P extends readonly DecoratorParamDefinition <TypeKind >[] |
S extends undefined | DecoratorParamDefinition <TypeKind > |
Parameters
Parameter | Type |
---|---|
definition | DecoratorDefinition <T , P , S > |
Returns
DecoratorValidator
<T
, P
, S
>
Deprecated
use extern dec definition in TypeSpec instead.