Skip to content

Commit

Permalink
fix constructor type
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Oct 29, 2024
1 parent e065253 commit d23903f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/src/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export type BuildContext = {
config: any;
webpack: {
version: string;
DefinePlugin: WebpackPluginInstance;
DefinePlugin: new (values: Record<string, string | boolean>) => WebpackPluginInstance;
};
// eslint-disable-next-line @typescript-eslint/no-explicit-any
defaultLoaders: any; // needed for type tests (test:types)
Expand Down

0 comments on commit d23903f

Please sign in to comment.