The collection or a function that resolves it.
import {
getDependencies,
setDependencies
} from "@egomobile/documentation"
// initially this is an array
console.log(
getDependencies()
)
// you can also define a function that returns the collection
const newDependencyCollection = new Set<DependencyItemWithInfo>()
setDependencies(newDependencyCollection)
// should be the set from `newDependencyCollection` now
console.log(
getDependencies()
)
Generated using TypeDoc
Sets up the global collection of
DependencyItemWithInfo
s.