This commit is contained in:
神仙都没用 2025-03-21 11:37:37 +08:00
parent a5cf5866ba
commit 75131abbfd
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
import { defineComponent, h, inject, mergeProps, nextTick, PropType, reactive, ref } from "vue"; import { defineComponent, h, inject, mergeProps, nextTick, type PropType, reactive, ref } from "vue";
import { Close } from "@element-plus/icons-vue"; import { Close } from "@element-plus/icons-vue";
import { useBrowser, useConfig, useCore } from "../../hooks"; import { useBrowser, useConfig, useCore } from "../../hooks";
import { renderNode } from "../../utils/vnode"; import { renderNode } from "../../utils/vnode";

View File

@ -1,4 +1,4 @@
import { Ref, WatchStopHandle, getCurrentInstance, watch } from "vue"; import { type Ref, type WatchStopHandle, getCurrentInstance, watch } from "vue";
import { useConfig } from "../../../hooks"; import { useConfig } from "../../../hooks";
import { uniqueFns } from "../../../utils"; import { uniqueFns } from "../../../utils";

View File

@ -1,6 +1,6 @@
import { assign } from "lodash-es"; import { assign } from "lodash-es";
import { TestService } from "../test/service"; import { TestService } from "../test/service";
import { watch, ref, nextTick, getCurrentInstance, Ref, inject, provide } from "vue"; import { watch, ref, nextTick, getCurrentInstance, type Ref, inject, provide } from "vue";
// 获取上级 // 获取上级
function useParent(name: string, r: Ref) { function useParent(name: string, r: Ref) {

View File

@ -1,5 +1,5 @@
// @ts-nocheck // @ts-nocheck
import { App } from "vue"; import { type App } from "vue";
export default { export default {
get vue(): App { get vue(): App {

View File

@ -1,4 +1,4 @@
import { h, resolveComponent, toRaw, VNode } from "vue"; import { h, resolveComponent, toRaw, type VNode } from "vue";
import { isObject } from "./index"; import { isObject } from "./index";
import { parseExtensionComponent } from "./parse"; import { parseExtensionComponent } from "./parse";
import global from "./global"; import global from "./global";