diff --git a/src/client/store.ts b/src/client/store.ts
index 1a3286554..07ea1868a 100644
--- a/src/client/store.ts
+++ b/src/client/store.ts
@@ -37,7 +37,7 @@ export const defaultStore = markRaw(new Storage('base', {
 	},
 	uploadFolder: {
 		where: 'account',
-		default: null
+		default: null as string | null
 	},
 	pastedFileName: {
 		where: 'account',