Files
tsgo/testdata/baselines/reference/submodule/compiler/contextualTyping33.symbols
2025-02-26 14:53:49 -08:00

10 lines
431 B
Plaintext

//// [tests/cases/compiler/contextualTyping33.ts] ////
=== contextualTyping33.ts ===
function foo(param: {():number; (i:number):number; }[]) { }; foo([function(){return 1;}, function(){return "foo"}]);
>foo : Symbol(foo, Decl(contextualTyping33.ts, 0, 0))
>param : Symbol(param, Decl(contextualTyping33.ts, 0, 13))
>i : Symbol(i, Decl(contextualTyping33.ts, 0, 33))
>foo : Symbol(foo, Decl(contextualTyping33.ts, 0, 0))