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 18335f5 commit f492a70
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: string, filename: string) => {
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 f492a70

Please sign in to comment.