Skip to content

Commit

Permalink
revise callback type
Browse files Browse the repository at this point in the history
  • Loading branch information
btea authored Aug 26, 2021
1 parent 6b7e96e commit 98ea781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extension/src/components/dnd-panel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type ShapeItem = {
icon?: string;
className?: string;
properties?: Record<string, any>;
callback?: string;
callback?: () => void;
};

class DndPanel {
Expand Down

0 comments on commit 98ea781

Please sign in to comment.