What is the documentation issue?
revalidateTag() in v16 docs shows profile as optional when it's not - in the docs:
revalidateTag(tag: string, profile?: string | { expire?: number }): void;
https://nextjs.org/docs/app/api-reference/functions/revalidateTag#parameters
Type in revalidate.d.ts
export declare function revalidateTag(tag: string, profile: string | CacheLifeConfig): undefined;
Profile must be set. It's not optional. I have 150 instances of revalidateTag in my codebase. Would be great if this was optional or had a default.
Is there any context that might help us understand?
No additional context
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/app/api-reference/functions/revalidateTag#parameters