File tree 1 file changed +22
-1
lines changed
1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -1520,6 +1520,13 @@ interface MyObject {
1520
1520
}` ` `
1521
1521
1522
1522
1523
+ ## [type-globalThis](./test/programs/type-globalThis)
1524
+
1525
+ ` ` ` ts
1526
+ export type Test = typeof globalThis ;
1527
+ ```
1528
+
1529
+
1523
1530
## [ type-intersection] ( ./test/programs/type-intersection )
1524
1531
1525
1532
``` ts
@@ -1550,7 +1557,7 @@ interface Foo {
1550
1557
```
1551
1558
1552
1559
1553
- ## [ type-intersection] ( ./test/programs/type-intersection-reuse )
1560
+ ## [ type-intersection-reuse ] ( ./test/programs/type-intersection-reuse )
1554
1561
1555
1562
``` ts
1556
1563
interface Type1 {
@@ -1664,6 +1671,20 @@ class MyObject {
1664
1671
```
1665
1672
1666
1673
1674
+ ## [ type-recursive] ( ./test/programs/type-recursive )
1675
+
1676
+ ``` ts
1677
+ /**
1678
+ * A recursive type
1679
+ */
1680
+ export type TestChildren = TestChild | Array <TestChild | TestChildren >;
1681
+
1682
+ interface TestChild {
1683
+ type: string ;
1684
+ }
1685
+ ```
1686
+
1687
+
1667
1688
## [ type-union] ( ./test/programs/type-union )
1668
1689
1669
1690
``` ts
You can’t perform that action at this time.
0 commit comments