Skip to content

Commit

Permalink
♻️ Remove sync api
Browse files Browse the repository at this point in the history
  • Loading branch information
ghivert committed Feb 1, 2022
1 parent 88d9c4f commit 34e1683
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ export * from './types'

export type Handler<Input, Output> = (
request: Input
) =>
| millefeuille.ServerResponse<Output>
| Promise<millefeuille.ServerResponse<Output>>
) => Promise<millefeuille.ServerResponse<Output>>

export type Options = {
port?: number
Expand Down

0 comments on commit 34e1683

Please sign in to comment.