Skip to content

Commit

Permalink
use ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Oct 27, 2022
1 parent b9b6254 commit 5f58e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/index.ts
Expand Up @@ -981,7 +981,7 @@ export default async function build(
if (key === APP_CLIENT_INTERNALS) {
clientEntry[CLIENT_STATIC_FILES_RUNTIME_MAIN_APP] = [
// TODO-APP: cast clientEntry[CLIENT_STATIC_FILES_RUNTIME_MAIN_APP] to type EntryDescription once it's available from webpack
// @ts-ignore clientEntry['main-app'] is type EntryDescription { import: ... }
// @ts-expect-error clientEntry['main-app'] is type EntryDescription { import: ... }
...clientEntry[CLIENT_STATIC_FILES_RUNTIME_MAIN_APP].import,
value,
]
Expand Down

0 comments on commit 5f58e4a

Please sign in to comment.