Skip to content

Commit

Permalink
refactor(geom-api): update PCLikeConstructor
Browse files Browse the repository at this point in the history
- make attribs optional
  • Loading branch information
postspectacular committed Mar 24, 2023
1 parent a3b814e commit 1c10c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geom-api/src/shape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface PCLike extends IShape<PCLike> {
}

export interface PCLikeConstructor {
new (pts: Vec[], attribs: Attribs): PCLike;
new (pts: Vec[], attribs?: Attribs): PCLike;
}

export interface IHiccupShape extends IShape, IToHiccup {}

0 comments on commit 1c10c09

Please sign in to comment.