igeligel / react-in-out-textarea

A simple React.js User Interface Component that is like Google Translate with full TypeScript Support
MIT License
31 stars 22 forks source link

fix(types): add types to icons and remove ts-ignore #116

Closed zorfling closed 2 years ago

zorfling commented 2 years ago

Hi! Please accept this drive-by for #hacktoberfest 😁

Fixed up a couple of deepsource issues with the icon types (-) https://deepsource.io/gh/igeligel/react-in-out-textarea/issue/JS-0463/occurrences https://deepsource.io/gh/igeligel/react-in-out-textarea/issue/JS-0295/occurrences

Relates to #104

I also fixed a couple of prettier / lint errors that were blocking commit.

I had to make the size required in order to get around JS-0465 in DeepSource - that rule doesn't make much sense in Typescript imho.