feat!: remove vue 2

This commit is contained in:
Yue JIN
2025-05-11 16:00:37 +08:00
committed by Yue JIN
parent b7852ab643
commit ca6d44f8db
14 changed files with 350 additions and 368 deletions

View File

@ -1,9 +1,9 @@
import { init } from "echarts/core";
import type { SetOptionOpts, ECElementEvent, ElementEvent } from "echarts/core";
import type { Ref } from "vue-demi";
import type { MaybeRef } from "vue";
export type Injection<T> = T | null | Ref<T | null> | { value: T | null };
export type Injection<T> = MaybeRef<T | null>;
type InitType = typeof init;
export type InitParameters = Parameters<InitType>;