mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
457 B
TypeScript
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;
|