13 lines
No EOL
385 B
Text
13 lines
No EOL
385 B
Text
==== tests/cases/compiler/exportingContainingVisibleType.ts (1 errors) ====
|
|
class Foo {
|
|
public get foo() {
|
|
~~~
|
|
!!! Accessors are only available when targeting ECMAScript 5 and higher.
|
|
var i: Foo;
|
|
return i; // Should be fine (previous bug report visibility error).
|
|
|
|
}
|
|
}
|
|
|
|
export var x = 5;
|
|
|