Avoid typed route expansion in API fetch
This commit is contained in:
1 parent
dec7f46365
commit
8f1cc8d4a7
1 file changed
+1
@@ -1,3 +1,4 @@
|
|||||||
|
import { $fetch } from "ofetch"
|
||||||
import type { FetchOptions } from "ofetch"
|
import type { FetchOptions } from "ofetch"
|
||||||
|
|
||||||
type RequestConfig = Omit<FetchOptions, "body" | "query"> & {
|
type RequestConfig = Omit<FetchOptions, "body" | "query"> & {
|
||||||
|
|||||||
Reference in new issue
Block a user