So i\'ve been trying to parse data from an api with typescript but cant get a grasp on how to declare the result type from the api. the request response can look something like: