Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Mar 30, 2022
1 parent 7733f8a commit 18893ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/next/server/dev/on-demand-entry-handler.ts
Expand Up @@ -43,7 +43,6 @@ export default function onDemandEntryHandler(
) {
const { compilers } = multiCompiler
const invalidator = new Invalidator(watcher, multiCompiler)
const hasReactRoot = !!nextConfig.experimental.reactRoot

let lastClientAccessPages = ['']
let doneCallbacks: EventEmitter | null = new EventEmitter()
Expand Down
3 changes: 2 additions & 1 deletion test/unit/parse-page-runtime.test.ts
@@ -1,9 +1,10 @@
import { getPageRuntime } from 'next/dist/build/entries'
import type { PageRuntime } from 'next/dist/server/config-shared'
import { join } from 'path'

const fixtureDir = join(__dirname, 'fixtures')

function createNextConfig(runtime?: string) {
function createNextConfig(runtime?: PageRuntime) {
return {
experimental: { reactRoot: true, runtime },
}
Expand Down

0 comments on commit 18893ba

Please sign in to comment.