Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6208

How to test type definition file for react or react-native project?

$
0
0

I am a maintainer of a react and react-native library/sdk. We also provide type (typescript) definitions for the components that we export. But its a bit hard to manually keep actual components and type definitions in sync, especially when 10 different devs are working on it in parallel. Also its quite hard to test if the provided definitions are accurate without actually using every prop in sample TS project. Has anyone also faced the same issue and/or figured out some easier way to tackle this problem?

What I am looking for is a way to test the type definition file for react type of project.


Viewing all articles
Browse latest Browse all 6208

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>