Module output variable type bug

  • 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:
    image
    Error:
    image
    Reality: I can save this as is, and then access the output called test and any properties within it just fine in any apps I add it to.

Nothing blocking but the type hint and error are misleading.

2 Likes

Hi @Jaskaran_Kahlon! Welcome to the community and thanks for flagging this. :slightly_smiling_face:

We're currently scoping out a fairly significant update to modules, so your timing is very good and your feedback much appreciated. I'll document this behavior internally and provide an update here as soon as I have news to share.