9 lines
No EOL
396 B
Text
9 lines
No EOL
396 B
Text
tests/cases/conformance/parser/ecmascript5/Accessors/parserSetAccessorWithTypeParameters1.ts(2,8): error TS1094: An accessor cannot have type parameters.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Accessors/parserSetAccessorWithTypeParameters1.ts (1 errors) ====
|
|
class C {
|
|
set foo<T>(v) { }
|
|
~~~
|
|
!!! error TS1094: An accessor cannot have type parameters.
|
|
} |