Files
tsgo/testdata/baselines/reference/submodule/compiler/doNotEmitPinnedCommentOnNotEmittedNode.js

21 lines
457 B
TypeScript

//// [tests/cases/compiler/doNotEmitPinnedCommentOnNotEmittedNode.ts] ////
//// [doNotEmitPinnedCommentOnNotEmittedNode.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;
//// [doNotEmitPinnedCommentOnNotEmittedNode.js]
"use strict";
class C {
foo(x, y) { }
}
var x = 10;