15 lines
No EOL
335 B
Text
15 lines
No EOL
335 B
Text
==== tests/cases/compiler/genericFunduleInModule2.ts (1 errors) ====
|
|
module A {
|
|
export function B<T>(x: T) { return x; }
|
|
}
|
|
|
|
module A {
|
|
export module B {
|
|
export var x = 1;
|
|
}
|
|
}
|
|
|
|
var b: A.B;
|
|
~~~
|
|
!!! Module 'A' has no exported member 'B'.
|
|
A.B(1); |