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; return name;
} }
private async getSearchResult(aQuery: string): Promise< private async getSearchResult(aQuery: string) {
(LookupItem & { let searchResult: (LookupItem & {
assetClass: AssetClass; assetClass: AssetClass;
assetSubClass: AssetSubClass; assetSubClass: AssetSubClass;
isin: string; isin: string;
})[] })[] = [];
> {
let searchResult = [];
try { try {
const abortController = new AbortController(); const abortController = new AbortController();