[TypeScript] Wrong type definition in OpenChannel props

UIKit 2.2.1

We use sendbird-uikit in our typescript project. we can’t use render props renderUserProfile of component OpenChannel without compile error. Because of current type definition of renderUserProfile [1] said there are not any parameters in the render props function, but the document said it should has parameter user. I make a sample for fixing this, and hope this will be helpful for your dev team.

  1. sendbird-uikit-react-sources/index.d.ts at main · sendbird/sendbird-uikit-react-sources · GitHub