mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
49 lines
640 B
TypeScript
49 lines
640 B
TypeScript
//// [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;
|
|
}
|
|
|
|
|
|
//// [doNotEmitDetachedCommentsAtStartOfLambdaFunction.js]
|
|
"use strict";
|
|
() => {
|
|
return 0;
|
|
};
|
|
() => {
|
|
return 0;
|
|
};
|
|
() => {
|
|
return 0;
|
|
};
|
|
() => {
|
|
return 0;
|
|
};
|