Skip to content

[I] DecoratorValidator

Type Parameters

Type ParameterDefault type
T extends TypeKind-
P extends readonly DecoratorParamDefinition<TypeKind>[]-
S extends DecoratorParamDefinition<TypeKind> | undefinedundefined

Methods

validate()

validate(
context,
target,
parameters): boolean

Parameters

ParameterType
contextDecoratorContext
targetInferredTypeSpecValue<T>
parametersInferParameters<P, S>

Returns

boolean