The function.
The dependency information or the function that resolves it.
Optional
dependenciesOrResolver: Nilable<DependencyInfoCollectionArg>The custom collection for the dependency info items or the function that resolves it.
Optional
stackInfo: Nilable<false | IStackInfo>Custom stack information.
import {
functionDependsOn,
getDependencies
} from "@egomobile/documentation"
function myFunction() {
// ...
}
functionDependsOn(
myFunction,
{
// your information here...
}
)
console.log(
getDependencies()
)
Generated using TypeDoc
Adds dependency information for a function.