mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
361 B
Plaintext
11 lines
361 B
Plaintext
jsdocPrivateName1.js(3,5): error TS2322: Type 'number' is not assignable to type 'boolean'.
|
|
|
|
|
|
==== jsdocPrivateName1.js (1 errors) ====
|
|
class A {
|
|
/** @type {boolean} some number value */
|
|
#foo = 3 // Error because not assignable to boolean
|
|
~~~~
|
|
!!! error TS2322: Type 'number' is not assignable to type 'boolean'.
|
|
}
|
|
|