mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
507 B
Plaintext
14 lines
507 B
Plaintext
// === Syntax and Semantic Diagnostics ===
|
|
/privatePropertyOfUndefinedThis1.ts(2,1): error TS2532: Object is possibly 'undefined'.
|
|
/privatePropertyOfUndefinedThis1.ts(2,6): error TS18016: Private identifiers are not allowed outside class bodies.
|
|
|
|
|
|
==== /privatePropertyOfUndefinedThis1.ts (2 errors) ====
|
|
|
|
this.#a = {};
|
|
~~~~
|
|
!!! error TS2532: Object is possibly 'undefined'.
|
|
~~
|
|
!!! error TS18016: Private identifiers are not allowed outside class bodies.
|
|
export {};
|
|
|