Why are there separate typescript vs javascript releases for @strapi/design-system?

I am building an admin panel plugin for a custom field, and have been frustrated at the lack of typescript definitions for components and icons

Today I found that I can override the version of @strapi/design-system and @strapi/icons in package.json to the .typescript.0 versions to enable typescript support.

In order to do this I also have to override the version in the main project package.json - even though both the plugin and main app were generated with the strapi command line tool and set to Typescript

I found the typescript releases by just looking through the Github, so I am not sure if there was documentation around this abnormal packaging strategy that I missed somewhere.

Is there something I’m missing about why these libraries were configured to have to separate releases?

This topic has been created from a Discord post (1218185768925790270) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Not sure why they do it but, you saved my day :smile:

Could you tell me how did you found about this releases?