DEV Community

Discussion on: How to use Vue Composition API using TypeScript - Part 2

Collapse
 
peterkassenaar profile image
Peter Kassenaar

Hi Manuel,

Thanks for the articles.

Since axios unwraps the reponse by default, I think it is not necessary to write response = data.results. You should be able to use just response = data?

Or am I missing something here?