6ab3adfd43
Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
10 lines
269 B
JavaScript
10 lines
269 B
JavaScript
//// [implicitAnyNewExprLackConstructorSignature.ts]
|
|
function Point() { this.x = 3; }
|
|
var x: any = new Point(); // error at "new"
|
|
|
|
//// [implicitAnyNewExprLackConstructorSignature.js]
|
|
function Point() {
|
|
this.x = 3;
|
|
}
|
|
var x = new Point(); // error at "new"
|