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