提交 242c4031 编写于 作者: P plainheart

fix(tooltip): explicitly use import type.

上级 6904fc6a
...@@ -23,14 +23,14 @@ import { normalizeEvent } from 'zrender/src/core/event'; ...@@ -23,14 +23,14 @@ import { normalizeEvent } from 'zrender/src/core/event';
import { transformLocalCoord } from 'zrender/src/core/dom'; import { transformLocalCoord } from 'zrender/src/core/dom';
import env from 'zrender/src/core/env'; import env from 'zrender/src/core/env';
import { convertToColorString, toCamelCase, normalizeCssArray } from '../../util/format'; import { convertToColorString, toCamelCase, normalizeCssArray } from '../../util/format';
import ExtensionAPI from '../../core/ExtensionAPI'; import type ExtensionAPI from '../../core/ExtensionAPI';
import { ZRenderType } from 'zrender/src/zrender'; import type { ZRenderType } from 'zrender/src/zrender';
import { TooltipOption } from './TooltipModel'; import type { TooltipOption } from './TooltipModel';
import Model from '../../model/Model'; import Model from '../../model/Model';
import { ZRRawEvent } from 'zrender/src/core/types'; import type { ZRRawEvent } from 'zrender/src/core/types';
import { ColorString, ZRColor } from '../../util/types'; import type { ColorString, ZRColor } from '../../util/types';
import CanvasPainter from 'zrender/src/canvas/Painter'; import type CanvasPainter from 'zrender/src/canvas/Painter';
import SVGPainter from 'zrender/src/svg/Painter'; import type SVGPainter from 'zrender/src/svg/Painter';
import { import {
shouldTooltipConfine, shouldTooltipConfine,
toCSSVendorPrefix, toCSSVendorPrefix,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册