Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/handlers/HttpHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
ResponseResolver,
} from './RequestHandler'

type HttpHandlerMethod = string | RegExp
export type HttpHandlerMethod = string | RegExp

export interface HttpHandlerInfo extends RequestHandlerDefaultInfo {
method: HttpHandlerMethod
Expand Down
5 changes: 5 additions & 0 deletions src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,15 @@ export type {
DefaultBodyType,
DefaultRequestMultipartBody,
JsonBodyType,
ResponseResolverInfo,
} from './handlers/RequestHandler'

export type {
RequestQuery,
HttpRequestParsedResult,
HttpHandlerInfo,
HttpRequestResolverExtras,
HttpHandlerMethod,
} from './handlers/HttpHandler'
export type { HttpRequestHandler, HttpResponseResolver } from './http'

Expand All @@ -57,6 +61,7 @@ export type { WebSocketData, WebSocketEventListener } from './ws'

export type { Path, PathParams, Match } from './utils/matching/matchRequestUrl'
export type { ParsedGraphQLRequest } from './utils/internal/parseGraphQLRequest'
export type { ResponseResolutionContext } from './utils/executeHandlers'

export * from './HttpResponse'
export * from './delay'
Expand Down