9 lines
216 B
Plaintext
9 lines
216 B
Plaintext
|
==== tests/cases/compiler/noTypeArgumentOnReturnType1.ts (1 errors) ====
|
||
|
class A<T>{
|
||
|
|
||
|
foo(): A{
|
||
|
~
|
||
|
!!! Generic type 'A<T>' requires 1 type argument(s).
|
||
|
return null;
|
||
|
}
|
||
|
}
|