TypeScript/tests/baselines/reference/getterMissingReturnError.errors.txt

11 lines
297 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/getterMissingReturnError.ts (2 errors) ====
class test {
public get p2(){
~~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
~~
!!! Getters must return a value.
}
}