mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
337 B
TypeScript
15 lines
337 B
TypeScript
//// [tests/cases/compiler/circularInstantiationExpression.ts] ////
|
|
|
|
//// [circularInstantiationExpression.ts]
|
|
declare function foo<T>(t: T): typeof foo<T>;
|
|
foo("");
|
|
|
|
|
|
//// [circularInstantiationExpression.js]
|
|
"use strict";
|
|
foo("");
|
|
|
|
|
|
//// [circularInstantiationExpression.d.ts]
|
|
declare function foo<T>(t: T): typeof foo<T>;
|