Skip to content

Commit

Permalink
fix: fix missing type of GraphicAttributeMap
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoluoHe committed Dec 18, 2024
1 parent 49a1c88 commit d86cff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vrender-core/src/interface/graphic/creator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { IImageAttribute, IImageGraphicAttribute } from './image';
import type { IIsogonAttribute } from './isogon';
import type { ILineAttribute, ILineGraphicAttribute } from './line';
import type { IPathAttribute, IPathGraphicAttribute } from './path';
import type { IPolygonAttribute } from './polygon';
import type { IPolygonAttribute, IPolygonGraphicAttribute } from './polygon';
import type { IRectAttribute, IRectGraphicAttribute } from './rect';
import type { IRichTextAttribute, IRichTextGraphicAttribute } from './richText';
import type { ISvgAttribute } from './svg';
Expand Down Expand Up @@ -68,6 +68,7 @@ export interface GraphicAttributeMap {
readonly text: ITextGraphicAttribute;
readonly richtext: IRichTextGraphicAttribute;
readonly wrapText: IWrapTextGraphicAttribute;
readonly polygon: IPolygonGraphicAttribute;
}

// export declare function createArc(params: Partial<IArcAttribute & IGraphicAttribute>): IArc;
Expand Down

0 comments on commit d86cff0

Please sign in to comment.