Skip to content

Commit

Permalink
fix: export WebSocketHandlerConnection type
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Oct 28, 2024
1 parent 4847e75 commit d82bef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/handlers/WebSocketHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type WebSocketHandlerEventMap = {
connection: [args: WebSocketHandlerConnection]
}

interface WebSocketHandlerConnection extends WebSocketConnectionData {
export interface WebSocketHandlerConnection extends WebSocketConnectionData {
params: PathParams
}

Expand Down
1 change: 1 addition & 0 deletions src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export { ws, type WebSocketLink } from './ws'
export {
WebSocketHandler,
type WebSocketHandlerEventMap,
type WebSocketHandlerConnection,
} from './handlers/WebSocketHandler'

/* Utils */
Expand Down

0 comments on commit d82bef6

Please sign in to comment.