jsx-eslint/eslint-plugin-react
在 GitHub 查看`react/prop-types`: Option to force TypeScript and propTypes
Open
#3,107 建立於 2021年10月20日
enhancementhelp wantedtypescript
描述
Currently react/prop-types will validate prop types regardless of how I define them. I would like to force that both propTypes and TypeScript types are defined.