From d4b84402e2ac2bb14cbdb58c784e7b6633896b9d Mon Sep 17 00:00:00 2001 From: Agustin Alexander Date: Sun, 12 Feb 2023 21:00:04 -0300 Subject: [PATCH] Update yahoo-finance.service.ts --- .../yahoo-finance/yahoo-finance.service.ts | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts b/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts index d994ac1b1..3e56a9eba 100644 --- a/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts +++ b/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts @@ -161,11 +161,11 @@ export class YahooFinanceService implements DataProviderInterface { } public async getDividends({ - from, - granularity = 'day', - symbol, - to - }: { + from, + granularity = 'day', + symbol, + to + }: { from: Date; granularity: Granularity; symbol: string; @@ -428,11 +428,11 @@ export class YahooFinanceService implements DataProviderInterface { } private formatName({ - longName, - quoteType, - shortName, - symbol - }: { + longName, + quoteType, + shortName, + symbol + }: { longName: Price['longName']; quoteType: Price['quoteType']; shortName: Price['shortName']; @@ -462,9 +462,9 @@ export class YahooFinanceService implements DataProviderInterface { } private getConvertedValue({ - symbol, - value - }: { + symbol, + value + }: { symbol: string; value: number; }) {