From 64a05d1460b3f2eedf5c3a407b39d806e0696991 Mon Sep 17 00:00:00 2001 From: feugy Date: Thu, 18 Aug 2022 09:56:15 +0200 Subject: [PATCH] chore: fix linter issue --- packages/next/build/analysis/get-page-static-info.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/next/build/analysis/get-page-static-info.ts b/packages/next/build/analysis/get-page-static-info.ts index 80938f19e630..9805c164975a 100644 --- a/packages/next/build/analysis/get-page-static-info.ts +++ b/packages/next/build/analysis/get-page-static-info.ts @@ -9,7 +9,6 @@ import { promises as fs } from 'fs' import { tryToParsePath } from '../../lib/try-to-parse-path' import * as Log from '../output/log' import { SERVER_RUNTIME } from '../../lib/constants' -import { ServerRuntime } from '../../types' export interface MiddlewareConfig { pathMatcher: RegExp // only relevant to middleware, not to edge APIs @@ -17,7 +16,7 @@ export interface MiddlewareConfig { } export interface PageStaticInfo { - runtime?: ServerRuntime + runtime?: 'nodejs' | 'experimental-edge' | undefined ssg?: boolean ssr?: boolean middleware?: Partial