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

24 lines
553 B
TypeScript

//// [tests/cases/compiler/functionExpressionAndLambdaMatchesFunction.ts] ////
//// [functionExpressionAndLambdaMatchesFunction.ts]
class CDoc {
constructor() {
function doSomething(a: Function) {
}
doSomething(() => undefined);
doSomething(function () { });
}
}
//// [functionExpressionAndLambdaMatchesFunction.js]
"use strict";
class CDoc {
constructor() {
function doSomething(a) {
}
doSomething(() => undefined);
doSomething(function () { });
}
}