Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhitley committed Mar 28, 2024
1 parent 845727e commit ad98058
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions example/bun-autorouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const logger: ResponseHandler<Response, BenchmarkedRequest> = (response, request

const router = AutoRouter({
port: 3001,
before: [],
finally: [logger],
before: [withBenchmarking, () => {}],
finally: [logger, () => {}],
})

router
Expand Down
5 changes: 2 additions & 3 deletions src/Router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import {
IRequest,
IttyRouterOptions,
IttyRouterType,
RequestLike,
Route,
RequestHandler
RequestHandler,
RequestLike
} from './IttyRouter'

export type ResponseHandler<ResponseType = Response, RequestType = IRequest, Args extends any[] = any[]> =
Expand Down

0 comments on commit ad98058

Please sign in to comment.