12 lines
No EOL
305 B
Text
12 lines
No EOL
305 B
Text
==== 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;
|
|
~~~
|
|
!!! Module 'A' has no exported member 'B'.
|
|
A.B(1); |