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:
parent
65ab65daa5
commit
7d1eaf7ee9
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue