File: nestedInfinitelyExpandedRecursiveTypes.types

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (26 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
=== tests/cases/compiler/nestedInfinitelyExpandedRecursiveTypes.ts ===
interface F<T> {
      t: G<F<() => T>>;
>t : G<F<() => T>>
}
interface G<U> {
      t: G<G<() => U>>;
>t : G<G<() => U>>
}
 
var f: F<string>;
>f : F<string>

var g: G<string>;
>g : G<string>

f = g;
>f = g : G<string>
>f : F<string>
>g : G<string>

g = f;
>g = f : F<string>
>g : G<string>
>f : F<string>