=== tests/cases/compiler/privacyCheckExportAssignmentOnExportedGenericInterface2.ts === export = Foo; >Foo : Foo interface Foo { >Foo : Foo >T : T } function Foo(array: T[]): Foo { >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 >"hello" : string }