Skip to content

Commit

Permalink
Update x-pack/plugins/reporting/server/core.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Sullivan <[email protected]>
  • Loading branch information
TinaHeiligers and tsullivan authored Jun 28, 2024
1 parent 4c18629 commit 403bf0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/reporting/server/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export class ReportingCore {
*/
private getExportTypes(): ExportType[] {
const { csv, pdf, png } = this.config.export_types;
const exportTypes: any[] = []; // hack around type error: Argument of type 'CsvSearchSourceExportType|CsvV2ExportType|PdfV1ExportType|PdfExportType|PngExportType' is not assignable to parameter of type 'never'
const exportTypes: ExportType[] = [];

if (csv.enabled) {
// NOTE: CsvSearchSourceExportType should be deprecated and replaced with V2 in the UI: https://github.com/elastic/kibana/issues/151190
Expand Down

0 comments on commit 403bf0c

Please sign in to comment.