Commit 8e30765f authored by Alejandro Celaya's avatar Alejandro Celaya Committed by Alejandro Celaya

Migrate ServiceURLService to TS

parent 43f9cd73
import type { SidebarStore } from '../store';
import type { APIRoutesService } from './api-routes';
/** /**
* Service for fetching the data needed to render URLs that point to the H * Service for fetching the data needed to render URLs that point to the H
* service. * service.
...@@ -11,11 +14,10 @@ ...@@ -11,11 +14,10 @@
* @inject * @inject
*/ */
export class ServiceURLService { export class ServiceURLService {
/** private _apiRoutes: APIRoutesService;
* @param {import('./api-routes').APIRoutesService} apiRoutes private _store: SidebarStore;
* @param {import('../store').SidebarStore} store
*/ constructor(apiRoutes: APIRoutesService, store: SidebarStore) {
constructor(apiRoutes, store) {
this._apiRoutes = apiRoutes; this._apiRoutes = apiRoutes;
this._store = store; this._store = store;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment