Open
Description
Courtesy of @JsonFreeman
function f<T>(t: T): T { return null }
f(null);
When compiling with -noImplicitAny, we don't get an error here, even though T is implicitly inferred to be any when we call f
Courtesy of @JsonFreeman
function f<T>(t: T): T { return null }
f(null);
When compiling with -noImplicitAny, we don't get an error here, even though T is implicitly inferred to be any when we call f