Skip to content

Commit

Permalink
fix: made canDuplicate as optional prop
Browse files Browse the repository at this point in the history
  • Loading branch information
surajair committed Jun 4, 2024
1 parent d7d6611 commit 7b89dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chaibuilder/runtime",
"private": false,
"version": "0.2.1",
"version": "0.2.2",
"type": "module",
"author": "Suraj Air",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion src/package/controls/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ export interface ChaiBuilderBlock {
canAcceptBlock?: (type: string) => boolean;
canDelete?: () => boolean;
canMove?: () => boolean;
canDuplicate: () => boolean;
canDuplicate?: () => boolean;
}

0 comments on commit 7b89dc9

Please sign in to comment.