TypeScript/tests/baselines/reference/doNotEmitPinnedCommentOnNotEmittedNode.js
2015-12-08 17:51:10 -08:00

22 lines
383 B
TypeScript

//// [file1.ts]
class C {
/*! remove pinned comment anywhere else */
public foo(x: string, y: any)
public foo(x: string, y: number) { }
}
var x = 10;
/*! remove pinned comment anywhere else */
declare var OData: any;
//// [file1.js]
var C = (function () {
function C() {
}
C.prototype.foo = function (x, y) { };
return C;
}());
var x = 10;