mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
38 lines
861 B
TypeScript
38 lines
861 B
TypeScript
//// [tests/cases/compiler/forLoopEndingMultilineComments.ts] ////
|
|
|
|
//// [forLoopEndingMultilineComments.ts]
|
|
declare var a: any;
|
|
|
|
export function consoleTestResultHandler(testResult: any): boolean {
|
|
// needed to get colors to show up when passing through Grunt
|
|
void a;
|
|
|
|
for (const q of a) {
|
|
void a;
|
|
|
|
/* eslint-disable no-console */
|
|
if (a) {
|
|
} else {
|
|
}
|
|
/* eslint-enable no-console */
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
//// [forLoopEndingMultilineComments.js]
|
|
export function consoleTestResultHandler(testResult) {
|
|
// needed to get colors to show up when passing through Grunt
|
|
void a;
|
|
for (const q of a) {
|
|
void a;
|
|
/* eslint-disable no-console */
|
|
if (a) {
|
|
}
|
|
else {
|
|
}
|
|
/* eslint-enable no-console */
|
|
}
|
|
return true;
|
|
}
|