From ece0e014a42367e083f46b989d9de027e649c096 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 13 Oct 2021 13:04:41 +0100 Subject: [PATCH] fix(nitro): fix type inference for `$fetch` (#938) --- packages/nitro/types/fetch.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nitro/types/fetch.d.ts b/packages/nitro/types/fetch.d.ts index 720f38eefd..211d2df6b2 100644 --- a/packages/nitro/types/fetch.d.ts +++ b/packages/nitro/types/fetch.d.ts @@ -23,9 +23,9 @@ export declare type TypedInternalResponse = : MiddlewareOf : Default -export declare interface $Fetch { - (request: R, opts?: FetchOptions): Promise> - raw (request: R, opts?: FetchOptions): Promise>> +export declare interface $Fetch { + (request: R, opts?: FetchOptions): Promise> + raw (request: R, opts?: FetchOptions): Promise>> } declare global {