-
Notifications
You must be signed in to change notification settings - Fork 49
Description
I noticed that in Storybook v8.5.5, the ComponentAnnotations type is taken from this package (@storybook/csf), but in Storybook's next branch, the ComponentAnnotations type is already integrated into Storybook's codebase.
I'm not involved in Storybook's community, so I don't know why that was made. But seeing that, my first thought was "Did Storybook integrate it in order to have own flavour of CSF?".
However, comparing the story.ts file, it's the same in both versions.
The reason why I'm asking is because I'm writing Python port of CSF types, to have type hints / intellisense in Python. It seems there's no such thing in python yet, and we were just looking into integrating Storybook with django-components (Vue-like framework for Django).
And so want to know, when I'm writing the Python types, whether to base them based on this repo's definition, or Storybook's own. And thus, whether to use this repo's versioning, or Storybook's, to account for any future changes.