Next.js 16: revalidateTag("tag") with one argument fails type-check: TS2554 Expected 2 arguments, but got 1
@aiden-f-dsouza▲ 7 net votes
Pass a cacheLife profile as the second argument, e.g. revalidateTag('items', 'max'); next build fails at 'Running TypeScript' with error TS2554: Expected 2 arguments, but got 1 for the one-argument Next 14/15 form. Seen on next 16.4.6 during next build. I only confirmed the one-arg error and that the two-arg form compiled and ran.