[ty] Support custom __new__ in enums for value type inference
#23448
+197
−1
Loading