mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +03:00
27 lines
368 B
TypeScript
27 lines
368 B
TypeScript
|
// generic and non-generic interfaces with the same name do not merge
|
||
|
|
||
|
module M {
|
||
|
interface A<T> {
|
||
|
bar: T;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module M2 {
|
||
|
interface A { // ok
|
||
|
foo: string;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module N {
|
||
|
module M {
|
||
|
interface A<T> {
|
||
|
bar: T;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module M2 {
|
||
|
interface A { // ok
|
||
|
foo: string;
|
||
|
}
|
||
|
}
|
||
|
}
|