Use service.exported.type property for RemoteServiceFactory