diff --git a/src/types/fetch.ts b/src/types/fetch.ts index 8602387b2e..870272bac2 100644 --- a/src/types/fetch.ts +++ b/src/types/fetch.ts @@ -3,7 +3,7 @@ import type { FetchRequest, FetchOptions, FetchResponse } from 'ohmyfetch' // An interface to extend in a local project export interface InternalApi { } -export type NitroFetchRequest = keyof InternalApi | (`${string}${'/'}${string}` & {}) | Exclude +export type NitroFetchRequest = keyof InternalApi | Exclude | string & {} export type ValueOf = C extends Record ? C[keyof C] : never