6 lines
No EOL
228 B
Text
6 lines
No EOL
228 B
Text
==== tests/cases/compiler/quotedAccessorName2.ts (1 errors) ====
|
|
class C {
|
|
static get "foo"() { return 0; }
|
|
~~~~~
|
|
!!! Accessors are only available when targeting ECMAScript 5 and higher.
|
|
} |