From 20d167d40bb2f79c8523c21c9f86ae9c2e1518ec Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 3 Nov 2024 12:33:09 +0000 Subject: [PATCH] style: remove trailing whitespace (#220) --- types/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index eec1559..8326fcc 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -16,7 +16,7 @@ declare namespace fastifyMiddie { export interface FastifyMiddieOptions { hook?: 'onRequest' | 'preParsing' | 'preValidation' | 'preHandler' | 'preSerialization' | 'onSend' | 'onResponse' | 'onTimeout' | 'onError'; } - + /** * @deprecated Use FastifyMiddieOptions instead */ @@ -29,9 +29,9 @@ declare namespace fastifyMiddie { export type NextFunction = (err?: any) => void; export type SimpleHandleFunction = (req: http.IncomingMessage & IncomingMessageExtended, res: http.ServerResponse) => void; export type NextHandleFunction = (req: connect.IncomingMessage & IncomingMessageExtended, res: http.ServerResponse, next: NextFunction) => void; - + export type Handler = SimpleHandleFunction | NextHandleFunction - + export const fastifyMiddie: FastifyMiddie export { fastifyMiddie as default } }