mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
7 lines
225 B
TypeScript
7 lines
225 B
TypeScript
import type { Service } from '../client/interfaces/Service';
|
|
import { sort } from './sort';
|
|
|
|
export const getServiceNames = (services: Service[]): string[] => {
|
|
return services.map(service => service.name).sort(sort);
|
|
};
|