Question on typescript and styles in React Native

Share on facebook
Share on google
Share on twitter
Share on linkedin

I came across the below article on typescript and react native styles which was very interesting to me. But when I try it out in my code and enter in a wrong property like they did for a styling I do not get a type error. Any thoughts on why I wouldn't?

submitted by /u/nsnullthoughts
[link] [comments]

Sign up for our Newsletter

Agree to our privacy policy.