Skip to content

Commit 357e1e4

Browse files
committed
fix: add back string types for NitroFetchRequest
1 parent 3a9ba18 commit 357e1e4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/types/fetch.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export interface ExternalFetch<
4040
export type NitroFetchRequest =
4141
| keyof InternalApi
4242
| Exclude<FetchRequest, string>
43+
// eslint-disable-next-line @typescript-eslint/ban-types
44+
| (string & {})
4345
| URL;
4446

4547
/** @deprecated */

0 commit comments

Comments
 (0)