diff --git a/.eslintrc b/.eslintrc index 36e8199..5e263d5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -200,6 +200,7 @@ "allowObjectStart": true, "allowArrayStart": true }], + "@typescript-eslint/no-unsafe-declaration-merging": "off", "lines-between-class-members": "error", "max-len": "off", "max-statements-per-line": "error", diff --git a/src/utils/net/form-data.ts b/src/utils/net/form-data.ts index 9ff7bcd..c3896e7 100644 --- a/src/utils/net/form-data.ts +++ b/src/utils/net/form-data.ts @@ -67,7 +67,7 @@ export function toFormData(obj: unknown): FormData { .filter(([, value]) => value !== undefined && value !== null) .map(([key, value]) => [key, ...toFormDataEntry(value)] as const) .reduce((formData, [key, value, name]) => { - formData.append(String(key), value, name); + formData.append(String(key), value as Blob, name); return formData; }, new FormData()); }