aboutsummaryrefslogtreecommitdiff
path: root/webAO/services/downloadFile.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-09-20 13:10:36 +0200
committerstonedDiscord <Tukz@gmx.de>2023-09-20 13:10:36 +0200
commitdda92bd41f4bee11e2cc5de265ce4fbf5221f1ff (patch)
treebcb0f8121955ff815758b30ec4e24a1e6bde4fba /webAO/services/downloadFile.ts
parent59028dd4046ad0715d80be8d1ed0031f20f05b7a (diff)
autoformat with eslint
Diffstat (limited to 'webAO/services/downloadFile.ts')
-rw-r--r--webAO/services/downloadFile.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/webAO/services/downloadFile.ts b/webAO/services/downloadFile.ts
index 058075f..d272249 100644
--- a/webAO/services/downloadFile.ts
+++ b/webAO/services/downloadFile.ts
@@ -1,8 +1,8 @@
const downloadFile = (content: string, filename: string) => {
- const a = document.createElement('a');
- const file = new Blob([content], {type: 'text'});
- a.href= URL.createObjectURL(file);
- a.download = filename;
- a.click();
+ const a = document.createElement('a');
+ const file = new Blob([content], { type: 'text' });
+ a.href = URL.createObjectURL(file);
+ a.download = filename;
+ a.click();
}
-export default downloadFile \ No newline at end of file
+export default downloadFile