Make typescript happy, tsc test run in CI

This commit is contained in:
Vendicated 2022-10-09 22:58:08 +02:00
parent 5610df8b37
commit a89e17a390
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
11 changed files with 45 additions and 36 deletions

View file

@ -16,7 +16,7 @@ export default definePlugin({
},
],
rand(file) {
rand(file: string) {
const chars =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
const rand = Array.from(