Content-Length: 240100 | pFad | https://github.com/NativeScript/NativeScript/pull/10575

EC #10573 (webpack) fix union type by insytes · Pull Request #10575 · NativeScript/NativeScript · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#10573 (webpack) fix union type #10575

Merged
merged 1 commit into from
Jul 6, 2024
Merged

Conversation

insytes
Copy link
Contributor

@insytes insytes commented Jul 5, 2024

PR Checklist

What is the current behavior?

TypeScript only recognises the function type of the single argument of mergeWebpack. The object type is ignored.

What is the new behavior?

Fixes the union type by parenthesising the function type.

Fixes #10573

@cla-bot cla-bot bot added the cla: yes label Jul 5, 2024
@NathanWalker NathanWalker merged commit 0e2db6e into NativeScript:main Jul 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(webpack5) Function type notation must be parenthesized when used in a union type.(1385)
2 participants








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: https://github.com/NativeScript/NativeScript/pull/10575

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy