## IWebSocketEventMap type  
This map exists separately from `WebSocketEventMap`, which is the actual event map used for the `ReconnectingWebSocket` class itself, due to slight difference in the type between the events as we use them, and the events as they exist as global interfaces. We need the global interfaces to be generic enough to satisfy conformant implementations that don't exactly match the events we export and use in `ReconnectingWebSocket` itself.

**Signature:**

```typescript
export type IWebSocketEventMap = {

close: globalThis.CloseEvent;

error: globalThis.ErrorEvent;

message: globalThis.MessageEvent;

open: Event;

};
```

- [IWebSocketEventMap type](/content/docs/sdk/core.iwebsocketeventmap#iwebsocketeventmap-type/index.html)
