Skip to content

Commit 8dcbd9e

Browse files
committed
npm run docs
1 parent 84eb5ad commit 8dcbd9e

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

Diff for: api.md

+22-1
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
@@ -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
15561563
interface 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

0 commit comments

Comments
 (0)