mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
812 B
Plaintext
27 lines
812 B
Plaintext
//// [tests/cases/compiler/declarationEmitExpressionInExtends4.ts] ////
|
|
|
|
=== 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))
|
|
|
|
}
|