mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
325 B
Plaintext
12 lines
325 B
Plaintext
//// [tests/cases/conformance/jsdoc/jsdocPrivateName1.ts] ////
|
|
|
|
=== jsdocPrivateName1.js ===
|
|
class A {
|
|
>A : Symbol(A, Decl(jsdocPrivateName1.js, 0, 0))
|
|
|
|
/** @type {boolean} some number value */
|
|
#foo = 3 // Error because not assignable to boolean
|
|
>#foo : Symbol(A.#foo, Decl(jsdocPrivateName1.js, 0, 9))
|
|
}
|
|
|