Skip to content

[F] getBaseUri

function getBaseUri(program, target): string | undefined;

Get base uri set via @baseUri decorator.

Accepts any type so that findBaseUri can probe a declaration before walking up its enclosing namespaces; only namespaces can carry the decorator.

ParameterType
programProgram
targetType

string | undefined