Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix OutletInfoComponent type definition (#38782)

Jarek Radosz5d30d63335d1
diff --git a/frontend/discourse/app/blocks/block-outlet.gjs b/frontend/discourse/app/blocks/block-outlet.gjs
index 29f5dfe18ee..b3764ca3613 100644
--- a/frontend/discourse/app/blocks/block-outlet.gjs
+++ b/frontend/discourse/app/blocks/block-outlet.gjs
@@ -526,7 +526,7 @@ export default class BlockOutlet extends Component {
* The component to render for outlet boundary debug info.
* Returns the OutletInfo component when debug mode is enabled, null otherwise.
*
- * @returns {typeof Component|null}
+ * @returns {typeof Component<{outletName: string, blockCount: number, outletArgs: object, error: Error}>|null}
*/
get OutletInfoComponent() {
return debugHooks.outletInfoComponent;