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