diff --git a/src/client/app/common/views/widgets/post-form.vue b/src/client/app/common/views/widgets/post-form.vue index 2468fe76d028..4508b4616ad8 100644 --- a/src/client/app/common/views/widgets/post-form.vue +++ b/src/client/app/common/views/widgets/post-form.vue @@ -135,7 +135,7 @@ export default define({ for (const x of Array.from((this.$refs.file as any).files)) this.upload(x); }, - upload(file: any, name?: string) { + upload(file: File, name?: string) { (this.$refs.uploader as any).upload(file, this.$store.state.settings.uploadFolder, name); },