TypeScript/tests/cases/compiler/unqualifiedCallToClassStatic1.ts
2014-07-12 17:30:19 -07:00

6 lines
109 B
TypeScript

class Vector {
static foo = () => {
// 'foo' cannot be called in an unqualified manner.
foo();
}
}