mrmartineau / Otter

Otter is a self-hosted bookmark manager made with Next.js and Supabase with Mastodon integration.
https://otter.zander.wtf
123 stars 20 forks source link

Type error: Parameter 'item' implicitly has an 'any' type. #6

Open huntsyea opened 2 months ago

huntsyea commented 2 months ago

Running into this on Vercel deploy.


Type error: Parameter 'item' implicitly has an 'any' type.
  50 |
  51 |   const subNav = tags?.length
> 52 |     ? tags.map((item) => {
     |                 ^
  53 |         return {
  54 |           text: item,
  55 |           href: `/tag/${encodeURIComponent(item)}`,
 ELIFECYCLE  Command failed with exit code 1.
Error: Command "pnpm run build" exited with 1```