19 lines
330 B
Plaintext
19 lines
330 B
Plaintext
|
=== 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
|
||
|
}
|
||
|
}
|