Skip to content

Commit

Permalink
Silenced newly introduced vue-tsc typing errors with generateCsv
Browse files Browse the repository at this point in the history
  • Loading branch information
danniehansen committed Oct 28, 2024
1 parent 6fe0769 commit 98c4cca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/DataExporter/Estimates/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,8 @@ const exportData = () => {
exported.value = false;
}, 1500);
// TODO: Improve typings. It works, typing is just not quite right
// @ts-ignore
const csv = generateCsv(csvConfig)(rowDataList.value);
download(csvConfig)(csv);
};
Expand Down
2 changes: 2 additions & 0 deletions src/pages/DataExporter/TimeTracking/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,8 @@ const exportData = () => {
exported.value = false;
}, 1500);
// TODO: Improve typings. It works, typing is just not quite right
// @ts-ignore
const csv = generateCsv(csvConfig)(rowDataList.value);
download(csvConfig)(csv);
};
Expand Down

0 comments on commit 98c4cca

Please sign in to comment.