Skip to content

Commit

Permalink
wrong access
Browse files Browse the repository at this point in the history
  • Loading branch information
feedthejim committed Aug 3, 2023
1 parent 830f443 commit 0262412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/src/server/require-hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const { dirname } = require('path')
const mod = require('module')
const resolveFilename = mod._resolveFilename
const hookPropertyMap = new Map()
const nextRenderAsyncStorage =
require('./async-storage/next-render-async-storage') as import('./async-storage/next-render-async-storage').NextRenderAsyncStorage
const { nextRenderAsyncStorage } =
require('./async-storage/next-render-async-storage') as typeof import('./async-storage/next-render-async-storage')

const resolve = process.env.NEXT_MINIMAL
? // @ts-ignore
Expand Down

0 comments on commit 0262412

Please sign in to comment.