chore: remove unused type imports

This commit is contained in:
Lhcfl 2024-04-12 09:40:34 +08:00
parent 9c75dd0b26
commit 95b91c6396
1 changed files with 5 additions and 10 deletions

View File

@ -5,9 +5,6 @@ import { type entities, api as firefishApi } from "firefish-js";
import insertTextAtCursor from "insert-text-at-cursor"; import insertTextAtCursor from "insert-text-at-cursor";
import type { import type {
Component, Component,
ComponentPublicInstance,
DefineComponent,
EmitsOptions,
Ref, Ref,
} from "vue"; } from "vue";
import { defineAsyncComponent, markRaw, ref } from "vue"; import { defineAsyncComponent, markRaw, ref } from "vue";
@ -180,13 +177,11 @@ export function promiseDialog<T>(
} }
let popupIdCount = 0; let popupIdCount = 0;
export const popups = ref([]) as Ref< export const popups = ref<{
{ id: number;
id: any; component: Component;
component: any; props: Record<string, unknown>;
props: Record<string, any>; }[]>([]);
}[]
>;
const zIndexes = { const zIndexes = {
low: 1000000, low: 1000000,