Run 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. Note For a type created after the type graph was checked, with a mutator for example, there is no graph finish left to wait for and this runs as soon as the type is finished. It then only sees the graph as it exists at that point, so it cannot observe types or relationships attached to it afterwards.
onTargetFinish?
readonly
ValidatorFn
Run 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.