File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -1520,6 +1520,13 @@ interface MyObject {
15201520}` ` `
15211521
15221522
1523+ ## [type-globalThis](./test/programs/type-globalThis)
1524+
1525+ ` ` ` ts
1526+ export type Test = typeof globalThis ;
1527+ ```
1528+
1529+
15231530## [ type-intersection] ( ./test/programs/type-intersection )
15241531
15251532``` ts
@@ -1550,7 +1557,7 @@ interface Foo {
15501557```
15511558
15521559
1553- ## [ type-intersection] ( ./test/programs/type-intersection-reuse )
1560+ ## [ type-intersection-reuse ] ( ./test/programs/type-intersection-reuse )
15541561
15551562``` ts
15561563interface Type1 {
@@ -1664,6 +1671,20 @@ class MyObject {
16641671```
16651672
16661673
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+
16671688## [ type-union] ( ./test/programs/type-union )
16681689
16691690``` ts
You can’t perform that action at this time.
0 commit comments