File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ const NEXT_PROJECT_ROOT_DIST_CLIENT = path.join(
8787)
8888
8989const isWebpackServerLayer = ( layer : WebpackLayerName | null ) =>
90- Boolean ( layer && WEBPACK_LAYERS . GROUP . server . includes ( layer ) )
90+ Boolean ( layer && WEBPACK_LAYERS . GROUP . server . includes ( layer as any ) )
9191
9292if ( parseInt ( React . version ) < 18 ) {
9393 throw new Error ( 'Next.js requires react >= 18.2.0 to be installed.' )
Original file line number Diff line number Diff line change @@ -129,6 +129,5 @@ export function createMetadataComponents({
129129 return null
130130 }
131131
132- // @ts -expect-error async server components
133132 return [ MetadataTree , MetadataOutlet ]
134133}
Original file line number Diff line number Diff line change @@ -1105,7 +1105,7 @@ export async function renderToHTMLOrFlight(
11051105 isPrefetch && ! Boolean ( components . loading )
11061106 ? null
11071107 : // Create component tree using the slice of the loaderTree
1108- // @ts -expect-error TODO-APP: fix async component type
1108+
11091109 React . createElement ( async ( ) => {
11101110 const { Component } = await createComponentTree (
11111111 // This ensures flightRouterPath is valid and filters down the tree
You can’t perform that action at this time.
0 commit comments