2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/innerBoundLambdaEmit.ts ===
|
|
|
|
module M {
|
2014-08-28 21:40:58 +02:00
|
|
|
>M : typeof M
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class Foo {
|
|
|
|
>Foo : Foo
|
|
|
|
}
|
|
|
|
var bar = () => { };
|
|
|
|
>bar : () => void
|
|
|
|
>() => { } : () => void
|
|
|
|
}
|
|
|
|
interface Array<T> {
|
2014-08-25 19:36:12 +02:00
|
|
|
>Array : Array<T>
|
2014-08-15 23:33:16 +02:00
|
|
|
>T : T
|
|
|
|
|
|
|
|
toFoo(): M.Foo
|
2014-08-25 19:36:12 +02:00
|
|
|
>toFoo : () => M.Foo
|
2014-08-28 21:40:58 +02:00
|
|
|
>M : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>Foo : M.Foo
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|