Skip to main content
Version: Next 🚧

[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