TypeScript/tests/baselines/reference/unqualifiedCallToClassStatic1.errors.txt
2014-09-11 16:11:08 -07:00

9 lines
263 B
Plaintext

==== tests/cases/compiler/unqualifiedCallToClassStatic1.ts (1 errors) ====
class Vector {
static foo = () => {
// 'foo' cannot be called in an unqualified manner.
foo();
~~~
!!! error TS2304: Cannot find name 'foo'.
}
}