Skip to content

[F] listServices

function listServices(program): Service[];

List all the services defined in the TypeSpec program

Parameters

ParameterTypeDescription
programProgramProgram

Returns

Service[]

List of service.