From 46cb9eb5803ba2c628e7ba34856399bdf7212dd8 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 13 Aug 2022 10:38:08 +0300 Subject: [PATCH] fix(quoteSummary): more incomeStatement nulls; THYAO.IS; fixes #517 --- schema.json | 6 +++--- src/modules/quoteSummary-iface.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/schema.json b/schema.json index ff8d7dc8..115a3009 100644 --- a/schema.json +++ b/schema.json @@ -6308,7 +6308,7 @@ "yahooFinanceType": "number|null" }, "incomeBeforeTax": { - "yahooFinanceType": "number" + "yahooFinanceType": "number|null" }, "incomeTaxExpense": { "yahooFinanceType": "number" @@ -6317,7 +6317,7 @@ "yahooFinanceType": "number|null" }, "netIncomeFromContinuingOps": { - "yahooFinanceType": "number" + "yahooFinanceType": "number|null" }, "discontinuedOperations": { "yahooFinanceType": "number|null" @@ -6335,7 +6335,7 @@ "yahooFinanceType": "number" }, "netIncomeApplicableToCommonShares": { - "yahooFinanceType": "number" + "yahooFinanceType": "number|null" } }, "required": [ diff --git a/src/modules/quoteSummary-iface.ts b/src/modules/quoteSummary-iface.ts index cade8ff8..bbd0749d 100644 --- a/src/modules/quoteSummary-iface.ts +++ b/src/modules/quoteSummary-iface.ts @@ -567,16 +567,16 @@ export interface IncomeStatementHistoryElement { totalOtherIncomeExpenseNet: number; ebit: number; interestExpense: number | null; - incomeBeforeTax: number; + incomeBeforeTax: number | null; incomeTaxExpense: number; minorityInterest: number | null; - netIncomeFromContinuingOps: number; + netIncomeFromContinuingOps: number | null; discontinuedOperations: number | null; extraordinaryItems: number | null; effectOfAccountingCharges: number | null; otherItems: number | null; netIncome: number; - netIncomeApplicableToCommonShares: number; + netIncomeApplicableToCommonShares: number | null; } export interface IndexTrend {