fix: type fix

This commit is contained in:
zxc 2024-08-11 14:33:29 +08:00
parent dcb8f742c0
commit 237f2442e8

View File

@ -1,6 +1,6 @@
import type { ShapePoolItem } from '@/configs/shapes' import type { ShapePoolItem } from '@/configs/shapes'
import type { LinePoolItem } from '@/configs/lines' 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 { export enum ElementOrderCommands {
UP = 'up', UP = 'up',
@ -119,7 +119,7 @@ export interface TextFormatPainter {
export interface ShapeFormatPainter { export interface ShapeFormatPainter {
keep: boolean keep: boolean
fill?: string fill?: string
gradient?: ShapeGradient gradient?: Gradient
outline?: PPTElementOutline outline?: PPTElementOutline
opacity?: number opacity?: number
shadow?: PPTElementShadow shadow?: PPTElementShadow