diff --git a/src/Components/Profile/Subcomponents/AvatarWidget.tsx b/src/Components/Profile/Subcomponents/AvatarWidget.tsx index 237c1256..ab4be26d 100644 --- a/src/Components/Profile/Subcomponents/AvatarWidget.tsx +++ b/src/Components/Profile/Subcomponents/AvatarWidget.tsx @@ -1,8 +1,6 @@ /* eslint-disable react/prop-types */ /* eslint-disable @typescript-eslint/no-floating-promises */ /* eslint-disable @typescript-eslint/no-explicit-any */ -/* eslint-disable @typescript-eslint/no-unsafe-assignment */ -/* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/prefer-optional-chain */ import { useState, useCallback, useRef } from 'react' import { ReactCrop, centerCrop, makeAspectCrop } from 'react-image-crop' diff --git a/types/AssetsApi.d.ts b/types/AssetsApi.d.ts index ff3d600f..f2005016 100644 --- a/types/AssetsApi.d.ts +++ b/types/AssetsApi.d.ts @@ -1,5 +1,4 @@ export interface AssetsApi { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - upload(file: Blob, title: string): any + upload(file: Blob, title: string): Promise<{ id: string }> url: string }