aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/randomiseFileNames.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-09 22:58:08 +0200
committerVendicated <vendicated@riseup.net>2022-10-09 22:58:08 +0200
commita89e17a3904cce8b7c9a70519e275fe9364526ae (patch)
treecd611a02618ac9aa59af7633ee35d96926251e68 /src/plugins/randomiseFileNames.ts
parent5610df8b3707fd8405764b903cb3f829571075ac (diff)
downloadVencord-a89e17a3904cce8b7c9a70519e275fe9364526ae.tar.gz
Vencord-a89e17a3904cce8b7c9a70519e275fe9364526ae.tar.bz2
Vencord-a89e17a3904cce8b7c9a70519e275fe9364526ae.zip
Make typescript happy, tsc test run in CI
Diffstat (limited to 'src/plugins/randomiseFileNames.ts')
-rw-r--r--src/plugins/randomiseFileNames.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/randomiseFileNames.ts b/src/plugins/randomiseFileNames.ts
index 02166bf..30603af 100644
--- a/src/plugins/randomiseFileNames.ts
+++ b/src/plugins/randomiseFileNames.ts
@@ -16,7 +16,7 @@ export default definePlugin({
},
],
- rand(file) {
+ rand(file: string) {
const chars =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
const rand = Array.from(