TypeScript/tests/cases/compiler/reorderProperties.ts

19 lines
240 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
interface A<T> {
x: T
}
interface B<T> {
x: T
}
interface C<S> extends A<D<S>> {
y: S
}
interface D<S> extends B<C<S>> {
y: S
}
var c: C<{ s: string; n: number }>
var d: D<{ n: number; s: string }> = c