12 lines
No EOL
366 B
Text
12 lines
No EOL
366 B
Text
tests/cases/compiler/unqualifiedCallToClassStatic1.ts(4,3): error TS2304: Cannot find name 'foo'.
|
|
|
|
|
|
==== tests/cases/compiler/unqualifiedCallToClassStatic1.ts (1 errors) ====
|
|
class Vector {
|
|
static foo = () => {
|
|
// 'foo' cannot be called in an unqualified manner.
|
|
foo();
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'foo'.
|
|
}
|
|
} |