Initial boiler plate project
This commit is contained in:
12
node_modules/next/dist/server/web/spec-extension/revalidate.d.ts
generated
vendored
Normal file
12
node_modules/next/dist/server/web/spec-extension/revalidate.d.ts
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
* This function allows you to purge [cached data](https://nextjs.org/docs/app/building-your-application/caching) on-demand for a specific cache tag.
|
||||
*
|
||||
* Read more: [Next.js Docs: `revalidateTag`](https://nextjs.org/docs/app/api-reference/functions/revalidateTag)
|
||||
*/
|
||||
export declare function revalidateTag(tag: string): void;
|
||||
/**
|
||||
* This function allows you to purge [cached data](https://nextjs.org/docs/app/building-your-application/caching) on-demand for a specific path.
|
||||
*
|
||||
* Read more: [Next.js Docs: `revalidatePath`](https://nextjs.org/docs/app/api-reference/functions/revalidatePath)
|
||||
*/
|
||||
export declare function revalidatePath(originalPath: string, type?: 'layout' | 'page'): void;
|
||||
Reference in New Issue
Block a user