From 35e37bd1d209982aef0e8375af733ce71979fca8 Mon Sep 17 00:00:00 2001 From: Visiky <736929286@qq.com> Date: Mon, 29 Mar 2021 20:30:06 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=20import=20type=20?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=BD=91=E7=AB=99=E6=97=A0=E6=B3=95=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=EF=BC=8C=E6=9B=B4=E6=96=B0=E4=B8=BA=20export=20type?= =?UTF-8?q?=20(#3350)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.ts b/src/core.ts index a11716d1e7..7325ef9cca 100644 --- a/src/core.ts +++ b/src/core.ts @@ -48,8 +48,8 @@ export { registerAnimation, getAnimation } from './animate/animation'; export { LAYER, DIRECTION } from './constant'; // 因为 typescript 部分版本不支持 export * as 语法。 -import type * as Types from './interface'; -export { Types }; +import * as Types from './interface'; +export type { Types }; export { IGroup, ShapeAttrs, Coordinate, Scale, ScaleConfig } from './dependents';