mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
402 B
Plaintext
14 lines
402 B
Plaintext
//// [tests/cases/compiler/defaultValueInConstructorOverload1.ts] ////
|
|
|
|
=== defaultValueInConstructorOverload1.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(defaultValueInConstructorOverload1.ts, 0, 0))
|
|
|
|
constructor(x = '');
|
|
>x : Symbol(x, Decl(defaultValueInConstructorOverload1.ts, 1, 16))
|
|
|
|
constructor(x = '') {
|
|
>x : Symbol(x, Decl(defaultValueInConstructorOverload1.ts, 2, 16))
|
|
}
|
|
}
|