==== tests/cases/compiler/typeParameterConstraints1.ts (6 errors) ==== function foo1(test: T) { } function foo2(test: T) { } function foo3(test: T) { } function foo4(test: T) { } // valid function foo5(test: T) { } // valid function foo6(test: T) { } ~~ !!! Cannot find name 'hm'. function foo7(test: T) { } // valid function foo8(test: T) { } ~~ !!! Type expected. function foo9 (test: T) { } ~ !!! Type expected. function foo10 (test: T) { } ~~~ !!! Type expected. function foo11 (test: T) { } ~~~~ !!! Type expected. function foo12(test: T) { } ~~~~~~~~~ !!! Cannot find name 'undefined'. function foo13(test: T) { }