Add type for responseType property