10 lines
206 B
Text
10 lines
206 B
Text
|
=== tests/cases/compiler/parameterPropertyInitializerInInitializers.ts ===
|
||
|
class Foo {
|
||
|
>Foo : Foo
|
||
|
|
||
|
constructor(public x: number, public y: number = x) { }
|
||
|
>x : number
|
||
|
>y : number
|
||
|
>x : number
|
||
|
}
|