willianjusten / nba-remix

A simple app to show NBA games and scores/details.
https://nba.willianjusten.com.br
210 stars 31 forks source link

Fix Typescript stuff and add API types #14

Open willianjusten opened 2 years ago

lucianomlima commented 2 years ago

Can put some info about the TS errors and types to be improved?

willianjusten commented 2 years ago

There are no errors actually, but places that we could improve and organize, if you see our types file: https://github.com/willianjusten/nba-remix/blob/main/app/types.ts

There are many repeated things that we could separate and organize. This ticket is mostly to check our type places and improve it. When I started the project, I did the fastest way as possible, so there are always places to improve.