mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
react-native: Add WebSocket ready state constants (#41637)
As defined in the React Native repo. https://github.com/facebook/react-native/blob/master/Libraries/WebSocket/WebSocket.js#L59-L67
This commit is contained in:
committed by
Ben Lichtman
parent
070fa8d410
commit
be840b6e1d
Vendored
+4
@@ -305,4 +305,8 @@ declare var WebSocket: {
|
||||
[optionName: string]: any;
|
||||
} | null,
|
||||
): WebSocket;
|
||||
readonly CLOSED: number;
|
||||
readonly CLOSING: number;
|
||||
readonly CONNECTING: number;
|
||||
readonly OPEN: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user