TypeScript/tests/cases/compiler/circularTypeofWithFunctionModule.ts
2015-12-13 18:32:46 -08:00

12 lines
178 B
TypeScript

// Repro from #6072
class Foo {}
function maker (value: string): typeof maker.Bar {
return maker.Bar;
}
namespace maker {
export class Bar extends Foo {}
}