You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ import SendBirdCall from "sendbird-calls";
38
38
39
39
SendBirdCall.init(APP_ID)
40
40
```
41
+
> **Note**: If you are using TypeScript, you have to set ['--esModuleInterop' setting to `true` for 'default import'](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#support-for-import-d-from-cjs-from-commonjs-modules-with---esmoduleinterop), or use `import * as SendBirdCall from "sendbird-calls"` instead.
42
+
41
43
Or use the minified file to initialize `SendBirdCall` as global variable in the header
0 commit comments