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