TypeScript/tests/baselines/reference/noTypeArgumentOnReturnType1.errors.txt

9 lines
216 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/noTypeArgumentOnReturnType1.ts (1 errors) ====
class A<T>{
foo(): A{
~
!!! Generic type 'A<T>' requires 1 type argument(s).
return null;
}
}