diff --git a/src/services/CacheService.ts b/src/services/CacheService.ts index bcf8fb5..403e79b 100644 --- a/src/services/CacheService.ts +++ b/src/services/CacheService.ts @@ -10,7 +10,7 @@ export class CacheService { constructor(private cachedItemValidityTimeMs: number = 60000) {} - public getItem(key: string): CacheItem | undefined{ + public getItem(key: string): CacheItem | undefined { Guard.ThrowIfUndefined('key', key); const cacheItem = this.cache.get(key); diff --git a/src/services/CoinGeckoPriceProvider.ts b/src/services/CoinGeckoPriceProvider.ts index f7e4f1a..b8729a0 100644 --- a/src/services/CoinGeckoPriceProvider.ts +++ b/src/services/CoinGeckoPriceProvider.ts @@ -30,7 +30,7 @@ export class CoinGeckoPriceProvider implements IPriceProvider { return 0; } - public async getPriceWithTimestamp(symbol: string, currency: string | undefined): Promise{ + public async getPriceWithTimestamp(symbol: string, currency: string | undefined): Promise { const price = await this.getPrice(symbol, currency); return { diff --git a/src/services/IPriceProvider.ts b/src/services/IPriceProvider.ts index 90f8b17..c1ff2f3 100644 --- a/src/services/IPriceProvider.ts +++ b/src/services/IPriceProvider.ts @@ -1,8 +1,7 @@ export type TokenInfo = { price: number; lastUpdated: number; -} - +}; /** * Definition of provider for access token price.