@sentry/nextjs
Version:
Official Sentry SDK for Next.js
8 lines • 520 B
TypeScript
/**
* Resolves the source file of the `use cache` function behind a cache key, through the server-reference manifest.
* With Turbopack on Next.js 16.3 the manifest only covers component-tree functions, so route handlers resolve
* to `undefined`. Webpack and 16.4 canary include route handlers.
* Any unexpected key or manifest shape returns `undefined`, never a wrong file.
*/
export declare function getCacheFunctionSourceFile(cacheKey: string): string | undefined;
//# sourceMappingURL=useCacheSourceFile.d.ts.map