diff --git a/api.md b/api.md index eccea25e..87695c09 100644 --- a/api.md +++ b/api.md @@ -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 @@ -1550,7 +1557,7 @@ interface Foo { ``` -## [type-intersection](./test/programs/type-intersection-reuse) +## [type-intersection-reuse](./test/programs/type-intersection-reuse) ```ts interface Type1 { @@ -1664,6 +1671,20 @@ class MyObject { ``` +## [type-recursive](./test/programs/type-recursive) + +```ts +/** + * A recursive type + */ +export type TestChildren = TestChild | Array; + +interface TestChild { + type: string; +} +``` + + ## [type-union](./test/programs/type-union) ```ts