diff --git a/docs/2.guide/2.directory-structure/1.server.md b/docs/2.guide/2.directory-structure/1.server.md index 0773e57cc2..990655fc36 100644 --- a/docs/2.guide/2.directory-structure/1.server.md +++ b/docs/2.guide/2.directory-structure/1.server.md @@ -113,7 +113,7 @@ For example, you can define a custom handler utility that wraps the original han ```ts [server/utils/handler.ts] import type { EventHandler, EventHandlerRequest } from 'h3' -export const defineWrappedResponseHandler = ( +export const defineWrappedResponseHandler = ( handler: EventHandler ): EventHandler => defineEventHandler(async event => {