2014-08-15 22:30:26 +02:00
|
|
|
//// [commentsOnObjectLiteral3.ts]
|
|
|
|
|
|
|
|
var v = {
|
|
|
|
//property
|
|
|
|
prop: 1 /* multiple trailing comments */ /*trailing comments*/,
|
|
|
|
//property
|
|
|
|
func: function () {
|
|
|
|
},
|
|
|
|
//PropertyName + CallSignature
|
|
|
|
func1() { },
|
|
|
|
//getter
|
|
|
|
get a() {
|
|
|
|
return this.prop;
|
|
|
|
} /*trailing 1*/,
|
|
|
|
//setter
|
|
|
|
set a(value) {
|
|
|
|
this.prop = value;
|
|
|
|
} // trailing 2
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
//// [commentsOnObjectLiteral3.js]
|
|
|
|
var v = {
|
|
|
|
//property
|
2014-08-15 23:32:08 +02:00
|
|
|
prop: 1 /* multiple trailing comments */ /*trailing comments*/,
|
2014-08-15 22:30:26 +02:00
|
|
|
//property
|
|
|
|
func: function () {
|
|
|
|
},
|
|
|
|
//PropertyName + CallSignature
|
2015-03-26 21:46:35 +01:00
|
|
|
func1: function () { },
|
2014-08-15 22:30:26 +02:00
|
|
|
//getter
|
|
|
|
get a() {
|
|
|
|
return this.prop;
|
2014-08-15 23:32:08 +02:00
|
|
|
} /*trailing 1*/,
|
2014-08-15 22:30:26 +02:00
|
|
|
//setter
|
|
|
|
set a(value) {
|
|
|
|
this.prop = value;
|
|
|
|
} // trailing 2
|
|
|
|
};
|