Improve parameter type inference
Improve parameter type inference

switch-education/pxt,Microsoft/pxt,Microsoft/pxt,Microsoft/pxt,switch-education/pxt,switch-education/pxt,switch-education/pxt,switch-education/pxt,Microsoft/pxt,Microsoft/pxt