==== tests/cases/compiler/genericLambaArgWithoutTypeArguments.ts (1 errors) ==== interface Foo { x: T; } function foo(a) { return null; } foo((arg: Foo) => { return arg.x; }); ~~~ !!! Generic type 'Foo' requires 1 type argument(s).