Property 'of' is missing in type '{ children: WidgetElement[]; }'

since yesterday I’ve started getting a TypeScript error in the Widget Builder whenever I try to use a ListView.

Property ‘of’ is missing in type ‘{ children: WidgetElement; }’

This was working fine before, and I didn’t change anything in my code. It just started happening from yesterday when using the Widget Builder

  • Has the ListView changed ?

  • Is there a recommended workaround for now?

Any help or clarification would be appreciated. Thanks!

alright got it: of: is the array you’re iterating over.

but i still don’t get how to use it correctly in a listview

please update the docs, thanks.

Hello! Thank you for the heads up. What docs page would be most helpful to update?


  • https://openai.github.io/chatkit-python/widgets/#listview
  • https://platform.openai.com/docs/guides/chatkit-widgets#containers-widgetroot
  • Other