-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Security Solution] Fix "Expression produces a union type that is too complex to represent" TS error #111111
Conversation
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, looked over the code, this looks good.
💛 Build succeeded, but was flaky
Test FailuresKibana Pipeline / general / Creates and activates a new custom rule with override option.Detection rules, override Creates and activates a new custom rule with override optionStack Trace
Metrics [docs]
To update your PR or re-run it, just comment with: cc @xcrzx |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…t" TS error (#111111) (#111153) Co-authored-by: Dmitry Shevchenko <[email protected]>
Related to: #104470, #100563
Summary
This PR fixes "Expression produces a union type that is too complex to represent." which appears after upgrade to Typescript 4.3.