Just getting started with React Native using typescript.
Take the package vector icon for example, we need to include 2 dependencies:
1. "react-native-vector-icons": "^7.1.0" (as a dependency)
2. "@types/react-native-vector-icons": "^6.4.6" (as a dev dependency)
For certain packages, dev dependencies that start with @type are optional. How can I determine if it is required or not?