1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
=== tests/cases/compiler/declarationEmitExpressionInExtends4.ts ===
function getSomething() {
>getSomething : Symbol(getSomething, Decl(declarationEmitExpressionInExtends4.ts, 0, 0))
return class D { }
>D : Symbol(D, Decl(declarationEmitExpressionInExtends4.ts, 1, 10))
}
class C extends getSomething()<number, string> {
>C : Symbol(C, Decl(declarationEmitExpressionInExtends4.ts, 2, 1))
>getSomething : Symbol(getSomething, Decl(declarationEmitExpressionInExtends4.ts, 0, 0))
}
class C2 extends SomeUndefinedFunction()<number, string> {
>C2 : Symbol(C2, Decl(declarationEmitExpressionInExtends4.ts, 6, 1))
}
class C3 extends SomeUndefinedFunction {
>C3 : Symbol(C3, Decl(declarationEmitExpressionInExtends4.ts, 10, 1))
}
|