You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the match function from ts-pattern with a class that has a static Schema property, the expected result is true, but the actual result is false.
To Reproduce
Steps to reproduce the behavior:
Define a class with a static Schema property.
Use the match function to match the class against the schema pattern.
Describe the bug
When using the
match
function fromts-pattern
with a class that has a staticSchema
property, the expected result istrue
, but the actual result isfalse
.To Reproduce
Steps to reproduce the behavior:
Schema
property.match
function to match the class against the schema pattern.Expected behavior
The output of the
match
function should betrue
, but it isfalse
.Versions
Feel free to review and submit the bug report with the refined description.
The text was updated successfully, but these errors were encountered: