mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
188 B
TypeScript
13 lines
188 B
TypeScript
// @strict: true
|
|
// @noEmit: true
|
|
|
|
class Base {
|
|
}
|
|
|
|
declare const BaseFactory: new() => Base & { c: string }
|
|
|
|
class Derived extends BaseFactory {
|
|
a = this.b
|
|
b = "abc"
|
|
}
|