Is there a way to get better type support based on requested params on a report . `BaseReportOperation.downloadReport<string>(reportId: string): Promise<Partial<Record<string, "string" | "number">>[]>` So that if the following params were used the report type would come back as an array of objects with the keys used in params. ```ts const params: SponsoredProductsReportParams = { recordType: "keywords", metrics: [ "adGroupId", "adGroupName", "campaignId", "campaignName", "clicks", "cost", "impressions", "keywordId", "keywordText", "matchType", "attributedSales1d", "attributedUnitsOrdered1d", ], reportDate: amazonDate.toString(), }; ```
Is there a way to get better type support based on requested params on a report .
BaseReportOperation.downloadReport<string>(reportId: string): Promise<Partial<Record<string, "string" | "number">>[]>So that if the following params were used the report type would come back as an array of objects with the keys used in params.