mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
169 B
TypeScript
15 lines
169 B
TypeScript
// @strict: true
|
|
// @noEmit: true
|
|
|
|
class C {
|
|
protected constructor() {}
|
|
}
|
|
|
|
class B<T = any> extends C {}
|
|
|
|
class A extends B {
|
|
f() {
|
|
new A();
|
|
}
|
|
}
|