AgoraIO-Extensions / AgoraIO-Extensions/agora-rtc-react

`AgoraRTCErrorCode` is undefined when import from `agora-rtc-react`

未关闭
#190 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug: upstream help wanted
主要语言
TypeScript
星标
41
派生
14
PR 合并指标
30 天内没有已合并 PR

描述

### What kind of problem do you need help?

The enum `AgoraRTCErrorCode` is exported from `agora-rtc-react`, but when I import it to use, it returns an `undefined` value.

![Screen Shot 2024-04-02 at 08 57 23](https://github.com/AgoraIO-Extensions/agora-rtc-react/assets/112865849/15bacd20-885a-4a04-ab4f-e35f404a1a21)

Code sandbox reproduce:
https://codesandbox.io/p/devbox/agora-rtc-react-forked-2v8qhp

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。