v3.0.41
- Updated TypeScript Definition file(SendBird.d.ts).
Install via NPM and import like below in your TypeScript file:
import * as SendBird from 'SendBird';
var sb = new SendBird({'appId': 'USER_APP_ID'});
// do something...
If you have trouble importing SendBird
, please check your tsconfig.json
file and change the value of "allowSyntheticDefaultImports"
to true
in compilerOptions
.