0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-21 06:02:34 -05:00

fix: solve typing problem

This commit is contained in:
alonso.torres 2024-06-04 10:09:43 +02:00
parent 65ab65daa5
commit 7d1eaf7ee9

View file

@ -245,7 +245,7 @@ export function createApi(context: PenpotContext, manifest: Manifest): Penpot {
createBoolean(boolType: PenpotBoolType, shapes: PenpotShape[]): PenpotBool {
// checkPermission('page:write');
return context.createPath(boolType, shapes);
return context.createBoolean(boolType, shapes);
},
createShapeFromSvg(svgString: string): PenpotGroup {