diff --git a/types/react-native/globals.d.ts b/types/react-native/globals.d.ts index 334acdff57..ca20d9e342 100644 --- a/types/react-native/globals.d.ts +++ b/types/react-native/globals.d.ts @@ -305,4 +305,8 @@ declare var WebSocket: { [optionName: string]: any; } | null, ): WebSocket; + readonly CLOSED: number; + readonly CLOSING: number; + readonly CONNECTING: number; + readonly OPEN: number; };