Skip to content

Commit 51577bb

Browse files
Addressed PR comments
1 parent 59eb67e commit 51577bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ContentTypeSidebarWidget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import EventEmitter from "wolfy87-eventemitter";
2-
import { IContentTypeSidebarInitData } from "./types";
32
import postRobot from "post-robot";
3+
import { IContentTypeSidebarInitData } from "./types";
44
import { ContentType } from "./types/stack.types";
55
import { GenericObjectType } from "./types/common.types";
66

@@ -55,7 +55,7 @@ class ContentTypeSidebarWidget {
5555
if (callback && typeof callback === "function") {
5656
contentTypeObj._emitter.on(
5757
"contentTypeSave",
58-
(event: { data: any }) => {
58+
(event: { data: ContentType }) => {
5959
callback(event.data);
6060
}
6161
);

0 commit comments

Comments
 (0)