5 lines
242 B
Plaintext
5 lines
242 B
Plaintext
==== tests/cases/compiler/invalidStaticField.ts (1 errors) ====
|
|
class A { foo() { return B.NULL; } }
|
|
~~~~
|
|
!!! Property 'NULL' does not exist on type 'typeof B'.
|
|
class B { static NOT_NULL = new B(); } |