Skip to content

Commit

Permalink
type tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Feb 21, 2024
1 parent ec08d8d commit 215788e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export function getOverlayMiddleware(project: Project) {
} satisfies TurbopackStackFrame

if (pathname === '/__nextjs_original-stack-frame') {
let originalStackFrame: Partial<OriginalStackFrameResponse> | null
let originalStackFrame: OriginalStackFrameResponse | null
try {
originalStackFrame = await createOriginalStackFrame(project, frame)
} catch (e: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const nextRe =
/** Given a potential file path, it parses which package the file belongs to. */
export function findSourcePackage(
file: string | null
): OriginalStackFrameResponse['sourcePackage'] | undefined {
): SourcePackage | undefined {
if (!file) return

// matching React first since vendored would match under `next` too
Expand Down

0 comments on commit 215788e

Please sign in to comment.