Generates API documentation for TypeScript code