Skip to content

Commit 797d7e0

Browse files
chore(core): improve type safety
1 parent befbdda commit 797d7e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/core/js/src/forum/components/DiscussionPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default class DiscussionPage<CustomAttrs extends IDiscussionPageAttrs = I
7979
}
8080
}
8181

82-
view() {
82+
view(): Mithril.Children {
8383
return <div className="DiscussionPage">{this.viewItems().toArray()}</div>;
8484
}
8585

0 commit comments

Comments
 (0)