mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
308 B
TypeScript
18 lines
308 B
TypeScript
//// [tests/cases/compiler/extendPrivateConstructorClass.ts] ////
|
|
|
|
//// [extendPrivateConstructorClass.ts]
|
|
declare namespace abc {
|
|
class XYZ {
|
|
private constructor();
|
|
}
|
|
}
|
|
|
|
class C extends abc.XYZ {
|
|
}
|
|
|
|
|
|
//// [extendPrivateConstructorClass.js]
|
|
"use strict";
|
|
class C extends abc.XYZ {
|
|
}
|