18 lines
252 B
TypeScript
18 lines
252 B
TypeScript
// @declaration: true
|
|
|
|
function getSomething() {
|
|
return class D { }
|
|
}
|
|
|
|
class C extends getSomething()<number, string> {
|
|
|
|
}
|
|
|
|
class C2 extends SomeUndefinedFunction()<number, string> {
|
|
|
|
}
|
|
|
|
|
|
class C3 extends SomeUndefinedFunction {
|
|
|
|
} |