#Property 'useGetImageData' is incompatible with index signature.

1 messages · Page 1 of 1 (latest)

fast helm
#
Type error: Type 'OmitWithTag<typeof import("C:/Users/user/Documents/Coding/React/lemon-host/src/app/dashboard/(dashboard-routes)/uploads/page"), "default" | "config" | "generateStaticParams" | "revalidate" | ... 9 more ... | "generateViewport", "">' does not satisfy the constraint '{ [x: string]: never; }'.
  Property 'useGetImageData' is incompatible with index signature.
    Type '(userData: UserData | null, sessionId: string | null, userId: string | null) => ImageData | null' is not assignable to type 'never'.

   6 |
   7 | // Check that the entry is a valid entry
>  8 | checkFields<Diff<{
     |             ^
   9 |   default: Function
  10 |   config?: {}
  11 |   generateStaticParams?: Function