//// [moduleOuterQualification.ts]

declare module outer {
  interface Beta { }
  module inner {
    // .d.ts emit: should be 'extends outer.Beta'
    export interface Beta extends outer.Beta { }
  }
}


//// [moduleOuterQualification.js]


//// [moduleOuterQualification.d.ts]
declare module outer {
    interface Beta {
    }
    module inner {
        interface Beta extends outer.Beta {
        }
    }
}
