Merge pull request #161 from chaoXxxxx/patch-3

fix: 修复types PPTLineElement 注释错误
This commit is contained in:
LLzzZZ 2022-10-14 22:02:02 +08:00 committed by GitHub
commit 4070f4a478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -374,7 +374,7 @@ export type LinePoint = '' | 'arrow' | 'dot'
* *
* curve?: 二次曲线控制点位置[x, y] * curve?: 二次曲线控制点位置[x, y]
* *
* curve?: 三次曲线控制点位置[[x1, y1], [x2, y2]] * cubic?: 三次曲线控制点位置[[x1, y1], [x2, y2]]
*/ */
export interface PPTLineElement extends Omit<PPTBaseElement, 'height' | 'rotate'> { export interface PPTLineElement extends Omit<PPTBaseElement, 'height' | 'rotate'> {
type: 'line' type: 'line'
@ -698,4 +698,4 @@ export interface SlideTheme {
themeColor: string themeColor: string
fontColor: string fontColor: string
fontName: string fontName: string
} }