Content-Length: 266569 | pFad | http://github.com/NativeScript/NativeScript/commit/0e2db6e586c6d05d7996fc0bdad7b014c687dea4

67 fix(webpack): union type (#10575) · NativeScript/NativeScript@0e2db6e · GitHub
Skip to content

Commit 0e2db6e

Browse files
authored
fix(webpack): union type (#10575)
1 parent 7f2d51e commit 0e2db6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/webpack5/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ export function chainWebpack(
158158
* @param mergeFn An object or a function that optionally returns an object (can mutate the object directly and return nothing)
159159
*/
160160
export function mergeWebpack(
161-
mergeFn: (
161+
mergeFn: ((
162162
config: Partial<webpack.Configuration>,
163163
env: IWebpackEnv,
164-
) => any | Partial<webpack.Configuration>,
164+
) => any) | Partial<webpack.Configuration>,
165165
) {
166166
webpackMerges.push(mergeFn);
167167
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/NativeScript/commit/0e2db6e586c6d05d7996fc0bdad7b014c687dea4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy