Skip to content

Commit d23903f

Browse files
author
Luca Forstner
committed
fix constructor type
1 parent e065253 commit d23903f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/config/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ export type BuildContext = {
500500
config: any;
501501
webpack: {
502502
version: string;
503-
DefinePlugin: WebpackPluginInstance;
503+
DefinePlugin: new (values: Record<string, string | boolean>) => WebpackPluginInstance;
504504
};
505505
// eslint-disable-next-line @typescript-eslint/no-explicit-any
506506
defaultLoaders: any; // needed for type tests (test:types)

0 commit comments

Comments
 (0)