8 lines
No EOL
202 B
Text
8 lines
No EOL
202 B
Text
==== tests/cases/compiler/staticInstanceResolution4.ts (1 errors) ====
|
|
class A {
|
|
public foo() {}
|
|
}
|
|
|
|
A.foo();
|
|
~~~
|
|
!!! Property 'foo' does not exist on type 'typeof A'. |