Question on typescript and styles in React Native

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

https://www.reddit.com/r/reactnative/comments/ek6hr8/question_on_typescript_and_styles_in_react_native/

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?

https://medium.com/@zvona/react-native-and-typescript-meets-styles-b727ecf7e677

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

Sign up for our Newsletter

Agree to our privacy policy.