TypeScript/tests/cases/compiler/privacyCheckExportAssignmentOnExportedGenericInterface2.ts

15 lines
193 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//@module: amd
//@declaration: true
2014-07-13 01:04:16 +02:00
export = Foo;
interface Foo<T> {
}
function Foo<T>(array: T[]): Foo<T> {
return undefined;
}
module Foo {
export var x = "hello";
}