Skip to content

Commit

Permalink
Merge pull request #8686 from zhujinxuan/type-download-csv
Browse files Browse the repository at this point in the history
Type downloadCSV function
  • Loading branch information
djhi authored Mar 2, 2023
2 parents 7e9db44 + f764c6f commit 41ad493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-core/src/export/downloadCSV.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default (csv, filename) => {
export default (csv: string, filename: string): void => {
const fakeLink = document.createElement('a');
fakeLink.style.display = 'none';
document.body.appendChild(fakeLink);
Expand Down

0 comments on commit 41ad493

Please sign in to comment.