-
Goal: I'm trying to expose an output from my module which is an object
-
Steps:
-
Details: I've tried this and it works fine, however the output type hint suggests
string | void
and I get an error when editing the module. -
Screenshots:
Type hint:
Error:
Reality: I can save this as is, and then access the output calledtest
and any properties within it just fine in any apps I add it to.
Nothing blocking but the type hint and error are misleading.