mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
35 lines
483 B
Plaintext
35 lines
483 B
Plaintext
//// [tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.ts] ////
|
|
|
|
=== doNotEmitDetachedCommentsAtStartOfLambdaFunction.ts ===
|
|
|
|
() => {
|
|
// Single line comment
|
|
|
|
return 0;
|
|
}
|
|
|
|
() => {
|
|
/*
|
|
multi-line comment
|
|
*/
|
|
|
|
return 0;
|
|
}
|
|
|
|
() => {
|
|
// Single line comment with more than one blank line
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
() => {
|
|
/*
|
|
multi-line comment with more than one blank line
|
|
*/
|
|
|
|
|
|
return 0;
|
|
}
|
|
|