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

9 lines
229 B
TypeScript

//// [tests/cases/compiler/contextualTyping38.ts] ////
//// [contextualTyping38.ts]
var foo = <{ (): number; }> function(a) { return a };
//// [contextualTyping38.js]
"use strict";
var foo = function (a) { return a; };