mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
fix(webpack): union type (#10575)
This commit is contained in:
@ -158,10 +158,10 @@ export function chainWebpack(
|
||||
* @param mergeFn An object or a function that optionally returns an object (can mutate the object directly and return nothing)
|
||||
*/
|
||||
export function mergeWebpack(
|
||||
mergeFn: (
|
||||
mergeFn: ((
|
||||
config: Partial<webpack.Configuration>,
|
||||
env: IWebpackEnv,
|
||||
) => any | Partial<webpack.Configuration>,
|
||||
) => any) | Partial<webpack.Configuration>,
|
||||
) {
|
||||
webpackMerges.push(mergeFn);
|
||||
}
|
||||
|
Reference in New Issue
Block a user