Why Array incorrectly identified as Object?

I have the following 2 components say parent and child.

<add-images ref="currentPage" :images="doc.images" />

data: function() {
    return {
        doc: {
            images: [],

Child Component

props: {
        images: Array

Vuejs giving this error

[Vue warn]: Invalid prop: type check failed for prop "images". Expected Array, got Object 

found in

---> <AddImages> at src/components/item-create/AddImages.vue
         <App> at src/App.vue

At some point you must be type changing the images from what you expect (an Array) to an Object.

1 Like

@JamesThomson yes, this the array was type changed to object during a serialization/deserialization step