style: style fix

This commit is contained in:
pipipi-pikachu 2021-05-14 23:03:44 +08:00
parent 1b0d6f0b6f
commit 9963a0a76c

View File

@ -32,7 +32,7 @@ interface PPTBaseElement {
height: number; height: number;
} }
export interface PPTTextElement extends PPTBaseElement{ export interface PPTTextElement extends PPTBaseElement {
type: 'text'; type: 'text';
content: string; content: string;
rotate: number; rotate: number;
@ -61,7 +61,7 @@ export interface ImageElementClip {
range: [[number, number], [number, number]]; range: [[number, number], [number, number]];
shape: string; shape: string;
} }
export interface PPTImageElement extends PPTBaseElement{ export interface PPTImageElement extends PPTBaseElement {
type: 'image'; type: 'image';
fixedRatio: boolean; fixedRatio: boolean;
src: string; src: string;
@ -78,7 +78,7 @@ export interface ShapeGradient {
color: [string, string]; color: [string, string];
rotate: number; rotate: number;
} }
export interface PPTShapeElement extends PPTBaseElement{ export interface PPTShapeElement extends PPTBaseElement {
type: 'shape'; type: 'shape';
viewBox: number; viewBox: number;
path: string; path: string;
@ -109,7 +109,7 @@ export interface ChartData {
labels: string[]; labels: string[];
series: number[][]; series: number[][];
} }
export interface PPTChartElement extends PPTBaseElement{ export interface PPTChartElement extends PPTBaseElement {
type: 'chart'; type: 'chart';
fill?: string; fill?: string;
chartType: ChartType; chartType: ChartType;
@ -145,7 +145,7 @@ export interface TableTheme {
colHeader: boolean; colHeader: boolean;
colFooter: boolean; colFooter: boolean;
} }
export interface PPTTableElement extends PPTBaseElement{ export interface PPTTableElement extends PPTBaseElement {
type: 'table'; type: 'table';
outline: PPTElementOutline; outline: PPTElementOutline;
theme?: TableTheme; theme?: TableTheme;