Skip to content

Commit

Permalink
more types cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhitley committed Apr 14, 2024
1 parent 2f00bce commit 477d667
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Changelog

#### v5.0.15
- maintenance: types cleanup and publishing test
#### v5.0.14
- maintenance: types cleanup and publishing test
#### v5.0.13
Expand Down
2 changes: 1 addition & 1 deletion src/AutoRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const AutoRouter = <
missing = () => error(404),
finally: f = [],
before = [],
...options }: AutoRouterOptions<RequestType, Args, ResponseType> = {}
...options }: AutoRouterOptions<RequestType, Args> = {}
) => Router<RequestType, Args, ResponseType>({
before: [
// @ts-ignore
Expand Down
1 change: 0 additions & 1 deletion src/types/AutoRouterOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { RouterOptions } from './RouterOptions'
export type AutoRouterOptions<
RequestType,
Args extends any[],
ResponseType
> = {
missing?: RequestHandler<RequestType, Args>
format?: ResponseHandler
Expand Down

0 comments on commit 477d667

Please sign in to comment.