Skip to content

Commit b06daf4

Browse files
authored
Update API docs (YousefED#389)
by running `npm run docs`
1 parent 5fa6fd4 commit b06daf4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

api.md

+21
Original file line numberDiff line numberDiff 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
@@ -1644,6 +1651,20 @@ class MyObject {
16441651
```
16451652

16461653

1654+
## [type-recursive](./test/programs/type-recursive)
1655+
1656+
```ts
1657+
/**
1658+
* A recursive type
1659+
*/
1660+
export type TestChildren = TestChild | Array<TestChild | TestChildren>;
1661+
1662+
interface TestChild {
1663+
type: string;
1664+
}
1665+
```
1666+
1667+
16471668
## [type-union](./test/programs/type-union)
16481669

16491670
```ts

0 commit comments

Comments
 (0)