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

8 lines
131 B
TypeScript

class List<T> {
public Blah() {
this.Foo(); // no error
List.Foo();
}
public static Foo() { }
}