mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-07 00:03:44 -05:00
* feat(client): ts-migrate Flash/redux * add app types * convert Flash/redux/index to vanilla TS * update redux types.ts * use FlashState type over State type * update typing * fix: prettier errors I caused? * fix: re-add comment I removed * remove comment Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> * fix type to not include {} * remove commented out code for future use * remove unused initialState object * rename Flash onClose prop to match action name * directly type reducer to return state Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>