* refactor: convert channel_moderation files to ts
- convert js files to ts
- update data types accordingly
- fix lint issues
Fixes: #21332
* fix: update argument type for visitChannel
- update type
- fix types issues
* refactor: change return type for getAdminAccount()
- change return type to getAdminAccount as UserProfile