Implements a postprocessor to support @inheritDoc. By making a depth first search across the dependencies graph
at every depth classes are processed for methods and constructor functions that have the @inheritDoc param. A
backward traversal is performed from the current class through parent inheritance to promote the types of the
parent class to child. @inheritDoc marked methods must have the same number of parameters as the parent
implementation. Warnings and generated and improperly formatted methods are skipped.
This is necessary as Typescript / tsc does not support the @inheritDoc JSDoc tag and will mark the types for
all methods using it with any.
You may enable verbose logging to see the graph traversal.
Implements a postprocessor to support
@inheritDoc
. By making a depth first search across the dependencies graph at every depth classes are processed for methods and constructor functions that have the@inheritDoc
param. A backward traversal is performed from the current class through parent inheritance to promote the types of the parent class to child.@inheritDoc
marked methods must have the same number of parameters as the parent implementation. Warnings and generated and improperly formatted methods are skipped.This is necessary as Typescript /
tsc
does not support the@inheritDoc
JSDoc tag and will mark the types for all methods using it withany
.You may enable
verbose
logging to see the graph traversal.