25 lines
337 B
Text
25 lines
337 B
Text
=== tests/cases/compiler/commentsOnObjectLiteral4.ts ===
|
|
|
|
var v = {
|
|
>v : { bar: number; }
|
|
>{
|
|
/**
|
|
* @type {number}
|
|
*/
|
|
get bar(): number {
|
|
return this._bar;
|
|
}
|
|
} : { bar: number; }
|
|
|
|
/**
|
|
* @type {number}
|
|
*/
|
|
get bar(): number {
|
|
>bar : number
|
|
|
|
return this._bar;
|
|
>this._bar : any
|
|
>this : any
|
|
>_bar : any
|
|
}
|
|
}
|