Skip to content

Commit

Permalink
feat: export MessageEvent type
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Apr 19, 2023
1 parent 84634f2 commit bf058f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
type WS = WebSocket

export type { WS as WebSocket }
export { WebSocket, type MessageEvent }

0 comments on commit bf058f0

Please sign in to comment.