mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-26 01:34:38 +10:00
fix: type error in $dropFetch
This commit is contained in:
@@ -30,6 +30,8 @@ interface DropFetch<
|
|||||||
|
|
||||||
export const $dropFetch: DropFetch = async (request, opts) => {
|
export const $dropFetch: DropFetch = async (request, opts) => {
|
||||||
if (!getCurrentInstance()?.proxy) {
|
if (!getCurrentInstance()?.proxy) {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
|
// @ts-ignore Excessive stack depth comparing types
|
||||||
return await $fetch(request, opts);
|
return await $fetch(request, opts);
|
||||||
}
|
}
|
||||||
const id = request.toString();
|
const id = request.toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user