Closed zepumph closed 2 years ago
@jonathanolson, can you assist?
I was able to easily workaround this by providing the parameters to multilink manuall (<[string, string, string|null]>
), but likely we want this fixed generally since my workaround is a code smell when it could infer them.
This appears fixed in the latest implementation of multilink. I added that test code and saw it seemed to be type checking OK.
@zepumph can this issue be closed?
I found a bug with the typing of Property.multilink. I'm unsure how to fix it, but it has a really easy reproducible case. By having the third Property which is of type
string|null
, the second arg in the callback thinks it could be null, but it can't. The assignment in the callback fails with this error: