Stop updating function param JSTypes post-type-resolution
This requires making a change to Clutz to stop it from outputting invalid TS. This change is a no-op because Clutz currently types `typeof <imported name>` as any.
@@ -144,7 +144,7 @@ final class ArrowType extends JSType {
JSType resolveInternal(ErrorReporter reporter) {
returnType = safeResolve(returnType, reporter);
for (Parameter param : parameterList) {
- param.setJSType(param.getJSType().resolve(reporter));
+ param.getJSType().resolve(reporter);
}
return this;
