[Feature Request] Better type inference for MockActivityEnvironment.run
#1710
Labels
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
This code:
Does not compile with strict types because
result
is inferred to beunknown
instead ofstring
.Describe the solution you'd like
Change the signature of
MockActivityEnvironment.run
from:to
I've checked this locally and it makes my example infer the type of
result
correctly.The text was updated successfully, but these errors were encountered: