From a89e17a3904cce8b7c9a70519e275fe9364526ae Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sun, 9 Oct 2022 22:58:08 +0200 Subject: Make typescript happy, tsc test run in CI --- src/plugins/randomiseFileNames.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/randomiseFileNames.ts') 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( -- cgit