From 16880b1231146b0c73460917a9884cf9c5455c65 Mon Sep 17 00:00:00 2001 From: Lhcfl Date: Sat, 13 Apr 2024 23:08:58 +0800 Subject: [PATCH] fix types --- packages/client/@types/global.d.ts | 1 + packages/client/src/components/MkNoteSub.vue | 42 +++---- .../client/src/components/MkPollEditor.vue | 8 +- packages/client/src/components/MkPostForm.vue | 111 ++++++++++-------- .../src/components/MkPostFormDialog.vue | 7 +- packages/client/src/components/MkSignup.vue | 7 +- packages/client/src/components/MkTagCloud.vue | 1 + .../src/components/MkVisibilityPicker.vue | 2 +- packages/client/src/components/form/range.vue | 2 +- packages/client/src/pages/clip.vue | 10 +- packages/client/src/store.ts | 8 +- packages/client/src/types/post-form.ts | 12 ++ packages/client/tsconfig.json | 2 +- packages/firefish-js/src/api.types.ts | 16 +-- packages/firefish-js/src/entities.ts | 6 +- packages/firefish-js/src/index.ts | 2 + 16 files changed, 135 insertions(+), 102 deletions(-) create mode 100644 packages/client/src/types/post-form.ts diff --git a/packages/client/@types/global.d.ts b/packages/client/@types/global.d.ts index c757482900..3ac4f09b0c 100644 --- a/packages/client/@types/global.d.ts +++ b/packages/client/@types/global.d.ts @@ -1,3 +1,4 @@ +// biome-ignore lint/suspicious/noExplicitAny: type FIXME = any; declare const _LANGS_: string[][]; diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index 08c0bf6c38..c7cf06d2e5 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -1,7 +1,7 @@