Skip to content

[I] DecoratorValidatorCallbacks

PropertyModifierTypeDescription
onGraphFinish?readonlyValidatorFnRun validation after everything is checked in the type graph. Useful when trying to get an overall view of the program. Note This is meant for validation which means the type graph should be treated as readonly in this function.
onTargetFinish?readonlyValidatorFnRun validation after all decorators are run on the same type. Useful if trying to validate this decorator is compatible with other decorators without relying on the order they are applied. Note This is meant for validation which means the type graph should be treated as readonly in this function.