Skip to content

Commit

Permalink
style: remove trailing whitespace (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Nov 3, 2024
1 parent e167da5 commit 20d167d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ declare namespace fastifyMiddie {
export interface FastifyMiddieOptions {
hook?: 'onRequest' | 'preParsing' | 'preValidation' | 'preHandler' | 'preSerialization' | 'onSend' | 'onResponse' | 'onTimeout' | 'onError';
}

/**
* @deprecated Use FastifyMiddieOptions instead
*/
Expand All @@ -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 }
}
Expand Down

0 comments on commit 20d167d

Please sign in to comment.