Skip to content

Commit

Permalink
Add webpack5 namespace to fix type errors (#31140)
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Nov 8, 2021
1 parent 3ceb9c5 commit 9db80fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/next/bundles/webpack/packages/webpack.d.ts
Expand Up @@ -2,3 +2,9 @@ export namespace webpack {
export type Compiler = any
export type Plugin = any
}

export namespace webpack5 {
export type Compiler = any
export type Plugin = any
export type Configuration = any
}
6 changes: 6 additions & 0 deletions packages/next/compiled/webpack/webpack.d.ts
Expand Up @@ -2,3 +2,9 @@ export namespace webpack {
export type Compiler = any
export type Plugin = any
}

export namespace webpack5 {
export type Compiler = any
export type Plugin = any
export type Configuration = any
}

0 comments on commit 9db80fe

Please sign in to comment.