Why use XML to JavaScript PropTypes instead of XML to TypeScript?
Choose the PropTypes route when the UI codebase is still plain JavaScript and you want runtime component validation. Choose XML to TypeScript when the surrounding app uses TypeScript for compile-time contracts.