Browse Source

Fix formatting issue in webserver package

dev
David Ludwig 4 years ago
parent
commit
a3f12efff1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      packages/webserver/src/middleware/handler.ts

+ 1
- 1
packages/webserver/src/middleware/handler.ts View File

@ -7,7 +7,7 @@ import "fastify-multipart";
export { FastifyReply } from "fastify";
export type MiddlewareRequest<P> = FastifyRequest & { middlewareParams: P };
export type HandlerMethod<T = undefined> = (request: MiddlewareRequest<T>, reply: FastifyReply, next?: any) => void;
export type HandlerMethod<T = undefined> = (request: MiddlewareRequest<T>, reply: FastifyReply, next?: any) => void;
export type MiddlewareMethod<T> = (request: MiddlewareRequest<T>, reply: FastifyReply, next: () => void) => void;
export type HandlerMethodWithMiddleware<T = undefined> = (request: MiddlewareRequest<MiddlewareParams<T>>, reply: FastifyReply) => void;
export type IteratorNext = () => void;


Loading…
Cancel
Save