11 lines
178 B
TypeScript
11 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 {}
|
|
}
|