Sendbird chat sdk javascript

I install @sendbird/chat sdk version 4.8.5 and on compiling it throw an error Cannot find name 'UIKitConfigInfoPayload'. Did you mean 'UIKitConfigInfo'?, I checked the repository and indeed UIKitConfigInfoPayload is not defined and there is no way I could open an issue. Any workaround or fixes of this?


[SDK Version]
4.8.5
[Reproduction Steps]
Install @sendbrid/chat version 4.8.5 in angular and run the project with ng serve

[Current impact]
Compilation error

Hello @Medikea_Clinic, Welcome to Sendbird Community!

Following the steps you suggested, I was able to compile the Angular app with ng serve after installing @sendbird/chat.

If you are still experiencing this issue, please share your Node and Angular CLI versions.

Node v18.16.0, Angular CLI 16.0.0

Hello @Medikea_Clinic,

The Chat SDK has type definition files that include third-party library dependencies like @react-native-async-storage/async-storage to provide accurate type support.

If you don’t use such third-party libraries or prefer to not check the types of the Chat SDK when compiling, enable the skipLibCheck option in your tsconfig.json file shown as below to resolve the issue.

// your tsconfig.json
{
  "compilerOptions": {
    "skipLibCheck": true
  }
}