mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
640 B
Plaintext
15 lines
640 B
Plaintext
//// [tests/cases/compiler/circularInstantiationExpression.ts] ////
|
|
|
|
=== circularInstantiationExpression.ts ===
|
|
declare function foo<T>(t: T): typeof foo<T>;
|
|
>foo : Symbol(foo, Decl(circularInstantiationExpression.ts, 0, 0))
|
|
>T : Symbol(T, Decl(circularInstantiationExpression.ts, 0, 21))
|
|
>t : Symbol(t, Decl(circularInstantiationExpression.ts, 0, 24))
|
|
>T : Symbol(T, Decl(circularInstantiationExpression.ts, 0, 21))
|
|
>foo : Symbol(foo, Decl(circularInstantiationExpression.ts, 0, 0))
|
|
>T : Symbol(T, Decl(circularInstantiationExpression.ts, 0, 21))
|
|
|
|
foo("");
|
|
>foo : Symbol(foo, Decl(circularInstantiationExpression.ts, 0, 0))
|
|
|