itsfrank / vue-typescript

Typescript decorators to make vue feel more typescripty
MIT License
358 stars 25 forks source link

Prop default value for objects and arrays must be a function #4

Closed itsfrank closed 7 years ago

itsfrank commented 7 years ago

Prop default values of type object and array in vuejs need to be returned by a function.

The prop decorator should wrap default values for objects and arrays as the return of a function.

itsfrank commented 7 years ago

Fixed in 67e50ad