2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/moduleAndInterfaceSharingName2.ts(8,9): error TS2315: Type 'Y' is not generic.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/moduleAndInterfaceSharingName2.ts (1 errors) ====
|
|
|
|
module X {
|
|
|
|
export module Y {
|
|
|
|
export interface Z { }
|
|
|
|
}
|
|
|
|
export interface Y { }
|
|
|
|
}
|
|
|
|
var z: X.Y.Z = null;
|
|
|
|
var z2: X.Y<string>;
|
|
|
|
~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2315: Type 'Y' is not generic.
|