Skip to content

Conversation

@amanagr
Copy link
Member

@amanagr amanagr commented Dec 11, 2025

Extracted from #36588

This helps clarify the return type without using any assertions. Will be helpful when NarrowCanonicalTerm will have different operand types based on operator.

NarrowCanonicalTerm is expanded to use discriminatedUnion to support this which just has string types right now but will have different types soon based on operator.

This helps clarify the return type without using any assertions.
Will be helpful when `NarrowCanonicalTerm` will have different
`operand` types based on `operator`.

NarrowCanonicalTerm is expanded to use `discriminatedUnion` to
support this which just has `string` types right now but will
have different types soon based on operator.
@amanagr amanagr force-pushed the user_operand_number branch from 8138c3b to 0c2bc29 Compare December 11, 2025 08:17
@timabbott timabbott merged commit cb1b01c into zulip:main Dec 12, 2025
8 checks passed
@timabbott
Copy link
Member

Merged, thanks @amanagr!

@amanagr amanagr deleted the user_operand_number branch December 12, 2025 17:31
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.

3 participants