mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
46 lines
540 B
TypeScript
46 lines
540 B
TypeScript
//// [tests/cases/compiler/doNotEmitPinnedDetachedComments.ts] ////
|
|
|
|
//// [doNotEmitPinnedDetachedComments.ts]
|
|
var x = 10;
|
|
|
|
/*! Single Line comment */
|
|
|
|
function baz() { }
|
|
|
|
|
|
/*!
|
|
multi-line comment
|
|
|
|
*/
|
|
|
|
|
|
//========================
|
|
|
|
|
|
function bar() {
|
|
/*!
|
|
Remove this comment
|
|
*/
|
|
|
|
}
|
|
|
|
function foo() {
|
|
/*! Remove this */
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
//========================
|
|
|
|
|
|
//// [doNotEmitPinnedDetachedComments.js]
|
|
"use strict";
|
|
var x = 10;
|
|
function baz() { }
|
|
function bar() {
|
|
}
|
|
function foo() {
|
|
return 0;
|
|
}
|