Feature/refactor types in EOD historical data service (#4063)

* Refactor types
This commit is contained in:
Thomas Kaul 2024-11-23 20:35:51 +01:00 committed by GitHub
parent 707c77f0cf
commit a8ea8a4599
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -410,14 +410,12 @@ export class EodHistoricalDataService implements DataProviderInterface {
return name;
}
private async getSearchResult(aQuery: string): Promise<
(LookupItem & {
private async getSearchResult(aQuery: string) {
let searchResult: (LookupItem & {
assetClass: AssetClass;
assetSubClass: AssetSubClass;
isin: string;
})[]
> {
let searchResult = [];
})[] = [];
try {
const abortController = new AbortController();