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