6 lines
308 B
Text
6 lines
308 B
Text
=== tests/cases/compiler/contextualTyping15.ts ===
|
|
class foo { public bar: { (): number; (i: number): number; } = function() { return 1 }; }
|
|
>foo : Symbol(foo, Decl(contextualTyping15.ts, 0, 0))
|
|
>bar : Symbol(bar, Decl(contextualTyping15.ts, 0, 11))
|
|
>i : Symbol(i, Decl(contextualTyping15.ts, 0, 39))
|
|
|