Using vue-property-decorators keeps all the information about a component inside one typescript class. The alternative was to use the old V2 syntax and Vue.extend() to add props. Using the property decorators helped to keep the code readable, maintainable (since type safety is improved) and made it easier for new developers to get started.

READ LESS
4 upvotes·30.8K views
Avatar of Ricardo Boss