Skip to content

Commit

Permalink
fix: export "WebSocketHandler" and "WebSocketHandlerEventMap"
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Mar 14, 2024
1 parent 09b4087 commit 372f183
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@ import { checkGlobals } from './utils/internal/checkGlobals'

export { SetupApi } from './SetupApi'

/* Request handlers */
/* HTTP handlers */
export { RequestHandler } from './handlers/RequestHandler'
export { http } from './http'
export { HttpHandler, HttpMethods } from './handlers/HttpHandler'
export { graphql } from './graphql'
export { GraphQLHandler } from './handlers/GraphQLHandler'

/* WebSocket */
/* WebSocket handler */
export { ws } from './ws/ws'
export {
WebSocketHandler,
WebSocketHandlerEventMap,
} from './handlers/WebSocketHandler'

/* Utils */
export { matchRequestUrl } from './utils/matching/matchRequestUrl'
Expand Down

0 comments on commit 372f183

Please sign in to comment.