2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/contextualTyping14.ts ===
|
|
|
|
class foo { public bar:(a:number)=>number = function(a){return a}; }
|
2015-04-13 22:54:22 +02:00
|
|
|
>foo : foo, Symbol(foo,Decl(contextualTyping14.ts,0,0))
|
|
|
|
>bar : (a: number) => number, Symbol(bar,Decl(contextualTyping14.ts,0,11))
|
|
|
|
>a : number, Symbol(a,Decl(contextualTyping14.ts,0,24))
|
2014-08-15 23:33:16 +02:00
|
|
|
>function(a){return a} : (a: number) => number
|
2015-04-13 22:54:22 +02:00
|
|
|
>a : number, Symbol(a,Decl(contextualTyping14.ts,0,53))
|
|
|
|
>a : number, Symbol(a,Decl(contextualTyping14.ts,0,53))
|
2014-08-15 23:33:16 +02:00
|
|
|
|