Did you know you can generate TypeScript from any Java/Kotlin gradle dependency by it's resolution name?
If your project has already pulled it into the gradle cache, 'ns typings android' will see it and prompt you to select which version you'd like types for.