getContextuallyTypedParameterType should return undefined instead of any
letx: {f(a,b): any,g(): any}={f: (a="none",b)=>a.length,g: (a="none",b){ return a.length}}For both f and g, the parameter a: any but should be a: string.
I also ran into this with implemented/inherited functions in PR #6118.
getContextuallyTypedParameterTypeshould returnundefinedinstead ofanyFor both
fandg, the parametera: anybut should bea: string.I also ran into this with implemented/inherited functions in PR #6118.