11 lines
No EOL
341 B
Text
11 lines
No EOL
341 B
Text
tests/cases/compiler/staticInstanceResolution4.ts(5,3): error TS2339: Property 'foo' does not exist on type 'typeof A'.
|
|
|
|
|
|
==== tests/cases/compiler/staticInstanceResolution4.ts (1 errors) ====
|
|
class A {
|
|
public foo() {}
|
|
}
|
|
|
|
A.foo();
|
|
~~~
|
|
!!! error TS2339: Property 'foo' does not exist on type 'typeof A'. |