mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
327 B
Plaintext
10 lines
327 B
Plaintext
//// [tests/cases/conformance/classes/constructorDeclarations/constructorParameters/declarationEmitReadonly.ts] ////
|
|
|
|
=== declarationEmitReadonly.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(declarationEmitReadonly.ts, 0, 0))
|
|
|
|
constructor(readonly x: number) {}
|
|
>x : Symbol(C.x, Decl(declarationEmitReadonly.ts, 1, 16))
|
|
}
|