diff --git a/src/runtime/types.ts b/src/runtime/types.ts index 41642cfd8a..ca73af4711 100644 --- a/src/runtime/types.ts +++ b/src/runtime/types.ts @@ -25,9 +25,9 @@ export interface NitroRuntimeHooks { close: () => void; error: CaptureError; - request: AppOptions["onRequest"]; - beforeResponse: AppOptions["onBeforeResponse"]; - afterResponse: AppOptions["onAfterResponse"]; + request: NonNullable; + beforeResponse: NonNullable; + afterResponse: NonNullable; "render:response": ( response: Partial,