Enhance type hints for globally registered components (#7933)

* Enhance type hints for globally registered components

* Refactor Codemirror props and language support

* Update

Signed-off-by: Ryan Wang <i@ryanc.cc>

---------

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang
2025-11-14 14:51:55 +08:00
committed by GitHub
parent 2068b72e27
commit ede40ad698
37 changed files with 81 additions and 72 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import SubmitButton from "@/components/button/SubmitButton.vue";
import AnnotationsForm from "@/components/form/AnnotationsForm.vue";
import type AnnotationsForm from "@/components/form/AnnotationsForm.vue";
import { setFocus } from "@/formkit/utils/focus";
import type { Menu, MenuItem, Ref } from "@halo-dev/api-client";
import { coreApiClient } from "@halo-dev/api-client";