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