TypeScript/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface2.types
2014-08-15 14:37:48 -07:00

29 lines
413 B
Plaintext

=== tests/cases/compiler/privacyCheckExportAssignmentOnExportedGenericInterface2.ts ===
export = Foo;
>Foo : Foo<T>
interface Foo<T> {
>Foo : Foo<T>
>T : T
}
function Foo<T>(array: T[]): Foo<T> {
>Foo : typeof Foo
>T : T
>array : T[]
>T : T
>Foo : Foo
>T : T
return undefined;
>undefined : undefined
}
module Foo {
>Foo : typeof Foo
export var x = "hello";
>x : string
}