Nov 20, 2012 at 3:44 AM
Edited Nov 20, 2012 at 3:46 AM
|
the following code emits comments in wrong place:
/**
* Some class comment...
*/
export class MyClass {
/**
* Some method comment...
*/
public static doSomething(){
}
}
output:
/**
* Some class comment...
*/
var MyClass = (function () {
function MyClass() { }
MyClass.doSomething = /**
* Some method comment...
*/
function doSomething() {
}
return MyClass;
})();
This is a valid JavaScript code, but... should the "Some method comment..." be there?
|