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

Commit 32610e8

Browse files
authored
Merge pull request #24 from pcardune/export-enum
Export the AgoraRTCErrorCode enum instead of just the declaration
2 parents 4a4c91a + 2c172c5 commit 32610e8

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)