TSLint: non-arrow functions are forbidden
I’m using typescript, yarn, react. I want to use non-arrow functions in some places of my app like this function myFunction () { console.log(‘This is a traditional function’) } and my TSLint will not allow me to do that. When I run yarn lint command to catch all the linting errors, I get ERROR :… Read More TSLint: non-arrow functions are forbidden