uni-echarts
Version:
🪀 适用于uni-app的Apache ECharts组件(仅支持Vue 3)
13 lines (9 loc) • 405 B
TypeScript
import type * as Echarts from "echarts/core";
import type { InjectionKey } from "vue";
export type MinifyEcharts = Pick<
typeof Echarts,
"init" | "registerPreprocessor" | "setPlatformAPI" | "use" | "throttle"
>;
export declare const ECHARTS_KEY: InjectionKey<MinifyEcharts>;
export declare function provideEcharts(echarts: MinifyEcharts): void;
export declare function useEcharts(): MinifyEcharts;