Type alias TypedResourceValidationRemediation<TProps>
TypedResourceValidationRemediation<TProps>: ((props,
args,
reportViolation) => Promise<Record<string, any>> | Record<string, any> | Promise<void> | void | undefined) Type declaration
- (props, args, reportViolation): Promise<Record<string, any>> | Record<string, any> | Promise<void> | void | undefined
Returns Promise<Record<string, any>> | Record<string, any> | Promise<void> | void | undefined
TypedResourceValidationRemediation is the callback signature for
validateRemediateResourceOfType
; it is equivlaent to the `ResourceValidation type except that it carries strongly typed properties with it.