const services = new Map < string , any > ( ) ; export class Service { } export class ServiceManager { public static get ( serviceName ) { return services . get ( serviceName ) ; } public static set ( serviceName , service ) { return services . set ( serviceName , service ) ; } public static reset ( serviceName ) { return services . delete ( serviceName ) ; } }