From 729aaa17b362954ef9805a59a4e57d09d799878a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barbara=20Gawe=C5=82-Kucab?= Date: Wed, 5 Jun 2024 17:06:55 +0200 Subject: [PATCH] rename preload webpack plugin type --- config/webpack/webpack.common.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/webpack/webpack.common.ts b/config/webpack/webpack.common.ts index 4402f135bd8e..bedd7e50ef94 100644 --- a/config/webpack/webpack.common.ts +++ b/config/webpack/webpack.common.ts @@ -18,13 +18,13 @@ type Options = { include: string; }; -type PreloadWebpackPluginProps = { - new (options?: Options): PreloadWebpackPluginProps; +type PreloadWebpackPluginClass = { + new (options?: Options): PreloadWebpackPluginClass; apply: (compiler: Compiler) => void; }; // require is necessary, there are no types for this package and the declaration file can't be seen by the build process which causes an error. -const PreloadWebpackPlugin: PreloadWebpackPluginProps = require('@vue/preload-webpack-plugin'); +const PreloadWebpackPlugin: PreloadWebpackPluginClass = require('@vue/preload-webpack-plugin'); const includeModules = [ 'react-native-animatable',