22 lines
346 B
Text
22 lines
346 B
Text
|
=== tests/cases/compiler/parameterReferencesOtherParameter1.ts ===
|
||
|
class Model {
|
||
|
>Model : Model
|
||
|
|
||
|
public name: string;
|
||
|
>name : string
|
||
|
}
|
||
|
|
||
|
class UI {
|
||
|
>UI : UI
|
||
|
|
||
|
constructor(model: Model, foo:string = model.name)
|
||
|
>model : Model
|
||
|
>Model : Model
|
||
|
>foo : string
|
||
|
>model.name : string
|
||
|
>model : Model
|
||
|
>name : string
|
||
|
{
|
||
|
}
|
||
|
}
|