Recieving warnings for an array with default type cc.Vec2

I’m getting flooded with warnings after I created an array property with default type cc.Vec2, and then filled said array with cc.Vec2s in the editor.
Here’s the array declaration.

altPositions:{
            default: [],
            type: cc.Vec2,
            visible: true
        },

Here’s the warning message.

Expecting object type of value for "altPositions.0.x", but got "number" type.
Expecting object type of value for "altPositions.0.y", but got "number" type.

And here’s an image showing the declaration in editor.

Any ideas how to declare the array in such a way as to not get spammed by warnings?

Bump still looking for solutions

I think you should declare your variables like below:
altPositions: {
default: [],
type: [cc.Vec2],
visible: true
},