mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
385 B
TypeScript
17 lines
385 B
TypeScript
//// [tests/cases/compiler/awaitExpressionInnerCommentEmit.ts] ////
|
|
|
|
//// [awaitExpressionInnerCommentEmit.ts]
|
|
async function foo() {
|
|
/*comment1*/ await 1;
|
|
await /*comment2*/ 2;
|
|
await 3 /*comment3*/
|
|
}
|
|
|
|
//// [awaitExpressionInnerCommentEmit.js]
|
|
"use strict";
|
|
async function foo() {
|
|
/*comment1*/ await 1;
|
|
await /*comment2*/ 2;
|
|
await 3; /*comment3*/
|
|
}
|