Files
tsgo/testdata/baselines/reference/submodule/compiler/forLoopEndingMultilineComments.js

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;
}