Skip to content

[F] getClientNamespaceString

function getClientNamespaceString(context): string | undefined

Get the clientโ€™s namespace for generation. If package-name is passed in config, we return that value as our namespace. Otherwise, we default to the TypeSpec service namespace.

Parameters

ParameterTypeDescription
contextTCGCContext

Returns

string | undefined