Skip to content

[F] getCachedNamespaceDependencies

function getCachedNamespaceDependencies(program): Map<Namespace | undefined, Set<Namespace>> | undefined;

Gets cross-namespace references collected by the versioning validation hook, or undefined before it has run. An undefined key represents declarations without a containing namespace. The map and sets are owned by the program and should not be modified.

ParameterType
programProgram

Map<Namespace | undefined, Set<Namespace>> | undefined