From 237f2442e8db0c6c5b292af2ede636e21a210f2d Mon Sep 17 00:00:00 2001 From: zxc <1171051090@qq.com> Date: Sun, 11 Aug 2024 14:33:29 +0800 Subject: [PATCH] fix: type fix --- src/types/edit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/edit.ts b/src/types/edit.ts index d026f104..744350d0 100644 --- a/src/types/edit.ts +++ b/src/types/edit.ts @@ -1,6 +1,6 @@ import type { ShapePoolItem } from '@/configs/shapes' import type { LinePoolItem } from '@/configs/lines' -import type { ImageClipDataRange, PPTElementOutline, PPTElementShadow, ShapeGradient } from './slides' +import type { ImageClipDataRange, PPTElementOutline, PPTElementShadow, Gradient } from './slides' export enum ElementOrderCommands { UP = 'up', @@ -119,7 +119,7 @@ export interface TextFormatPainter { export interface ShapeFormatPainter { keep: boolean fill?: string - gradient?: ShapeGradient + gradient?: Gradient outline?: PPTElementOutline opacity?: number shadow?: PPTElementShadow