Skip to content

Commit

Permalink
Type downloadCSV function
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujinxuan committed Feb 28, 2023
1 parent 91ca34f commit f764c6f
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 f764c6f

Please sign in to comment.