What Library is used to Compile the API from the Typescript?

I am trying to understand the process behind the generation of the API in the build process. I’m not sure if there was a third-party library used, or if this is just something ezpz with typescript.

It is done by the documentation site. It will download the d.ts and read it using typedoc