I am using https://github.com/octokit/rest.js along with Probot and am developing with Typescript. While trying to add types for a response object (app installations in my case), I saw the types definitions in the
rest.js project was not exported. Instead I have to use the https://github.com/octokit/types.ts project and use helper methods to get the types.
Why is there such a roundabout and complicated setup just to access the types?