SAEED AMIN

Results 4 comments of SAEED AMIN

One of the components is this: ``` interface Props { posts: string[]; } const Home: NextPage = ({ posts }) => { function onChange(date, dateString) { console.log(date, dateString); } function...

this is a page in `nextjs` and the same error appear in my components too. the problem is that `eslint` can't understand the prop interface when I'm using arrow function.

I can't see why I shouldn't use arrow functions. just because a bug in TS or a package?

So is there any plan to fix this bug or not?