2015-03-02 21:21:53 +01:00
|
|
|
tests/cases/compiler/genericFunduleInModule.ts(8,10): error TS2305: Module 'A' has no exported member 'B'.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/genericFunduleInModule.ts (1 errors) ====
|
|
|
|
module A {
|
|
|
|
export function B<T>(x: T) { return x; }
|
|
|
|
export module B {
|
|
|
|
export var x = 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var b: A.B;
|
2015-03-02 21:21:53 +01:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2305: Module 'A' has no exported member 'B'.
|
2014-07-13 01:04:16 +02:00
|
|
|
A.B(1);
|