I am trying to fix this lint error at line const def = (props) => { in following sample code.
const def = (props) => {
const propTypes = { prop1: PropTypes.string, pr
Not sure about solutions but a temporary workaround is to ask eslint to ignore it by adding the following on top of the problem line.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions