TypeScript/tests/baselines/reference/parameterPropertyReferencingOtherParameter.types

11 lines
208 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/parameterPropertyReferencingOtherParameter.ts ===
class Foo {
>Foo : Foo
constructor(public x: number, public y: number = x) { }
>x : number
>y : number
>x : number
}