File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/next/src/client/components/react-dev-overlay/server Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export function getOverlayMiddleware(project: Project) {
113
113
} satisfies TurbopackStackFrame
114
114
115
115
if ( pathname === '/__nextjs_original-stack-frame' ) {
116
- let originalStackFrame : Partial < OriginalStackFrameResponse > | null
116
+ let originalStackFrame : OriginalStackFrameResponse | null
117
117
try {
118
118
originalStackFrame = await createOriginalStackFrame ( project , frame )
119
119
} catch ( e : any ) {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const nextRe =
22
22
/** Given a potential file path, it parses which package the file belongs to. */
23
23
export function findSourcePackage (
24
24
file : string | null
25
- ) : OriginalStackFrameResponse [ 'sourcePackage' ] | undefined {
25
+ ) : SourcePackage | undefined {
26
26
if ( ! file ) return
27
27
28
28
// matching React first since vendored would match under `next` too
You can’t perform that action at this time.
0 commit comments