Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 2c172c5

Browse files
committed
Export the AgoraRTCErrorCode enum instead of just the declaration so it can be used
1 parent 4a4c91a commit 2c172c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface AgoraRTCError {
2727
name: string;
2828
}
2929

30-
export declare enum AgoraRTCErrorCode {
30+
export enum AgoraRTCErrorCode {
3131
UNEXPECTED_ERROR = "UNEXPECTED_ERROR",
3232
UNEXPECTED_RESPONSE = "UNEXPECTED_RESPONSE",
3333
TIMEOUT = "TIMEOUT",

0 commit comments

Comments
 (0)