Skip to content

Commit

Permalink
npm run docs
Browse files Browse the repository at this point in the history
  • Loading branch information
laat committed Nov 26, 2020
1 parent 84eb5ad commit 8dcbd9e
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,13 @@ interface MyObject {
}```
## [type-globalThis](./test/programs/type-globalThis)
```ts
export type Test = typeof globalThis;
```


## [type-intersection](./test/programs/type-intersection)

```ts
Expand Down Expand Up @@ -1550,7 +1557,7 @@ interface Foo {
```


## [type-intersection](./test/programs/type-intersection-reuse)
## [type-intersection-reuse](./test/programs/type-intersection-reuse)

```ts
interface Type1 {
Expand Down Expand Up @@ -1664,6 +1671,20 @@ class MyObject {
```


## [type-recursive](./test/programs/type-recursive)

```ts
/**
* A recursive type
*/
export type TestChildren = TestChild | Array<TestChild | TestChildren>;

interface TestChild {
type: string;
}
```


## [type-union](./test/programs/type-union)

```ts
Expand Down

0 comments on commit 8dcbd9e

Please sign in to comment.