TypeScript/tests/baselines/reference/privacyCheckExportAssignmentOnExportedGenericInterface2.types
2014-08-18 19:56:03 -07:00

29 lines
416 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 : T
return undefined;
>undefined : undefined
}
module Foo {
>Foo : typeof Foo
export var x = "hello";
>x : string
}