9 lines
242 B
Plaintext
9 lines
242 B
Plaintext
|
==== tests/cases/compiler/staticOffOfInstance1.ts (1 errors) ====
|
||
|
class List {
|
||
|
public Blah() {
|
||
|
this.Foo();
|
||
|
~~~
|
||
|
!!! Property 'Foo' does not exist on type 'List'.
|
||
|
}
|
||
|
public static Foo() {}
|
||
|
}
|