Skip to content

[F] listServices

function listServices(program): Service[];

List all the services defined in the TypeSpec program

ParameterTypeDescription
programProgramProgram

Service[]

List of service.