odota / web

React web interface for the OpenDota platform
https://www.opendota.com
MIT License
1.08k stars 390 forks source link

convert App/ directory to use TypeScript #3125

Closed mehrdadrafiee closed 1 month ago

mehrdadrafiee commented 7 months ago

Please review.

As part of refactoring, this PR converts src/components/App/ directory to use TypeScript. There were some spots that I wasn't sure how to handle the types so I had to ignore them (@ts-nocheck) for now but feel free to pull down the changes and update the PR.

Since the styled-component is a bit old, I wasn't able to convert the src/components/App/GlobalStyles.jsx to TypeScript. Can be done once we upgrade to a newer version.