storybookjs / react-native

📓 Storybook for React Native!
https://storybook.js.org
MIT License
1.05k stars 152 forks source link

fix: stricter types #562

Closed dannyhw closed 6 months ago

dannyhw commented 6 months ago

Issue:

What I did

fixes ts error when strict checking due to missing type on the import map

error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.

How to test

Please explain how to test your changes and consider the following questions

If your answer is yes to any of these, please make sure to include it in your PR.