// define the type on your `API` types:type Response = Api.Generate.ResponseShortcuts<Endpoints>;// consume the type wherever in your app:type MyData = API.Response["get"]["my/endpoint"]; Copy
// define the type on your `API` types:type Response = Api.Generate.ResponseShortcuts<Endpoints>;// consume the type wherever in your app:type MyData = API.Response["get"]["my/endpoint"];
Example