HerringtonDarkholme / av-ts

A modern, type-safe, idiomatic Vue binding library
MIT License
216 stars 11 forks source link

Would you be willing to make lowercased aliases for the decorators? #38

Closed Evertt closed 7 years ago

Evertt commented 7 years ago

My personal preference is to have class-decorators like @Component capitalized (because class-names are also capitalized) and all other decorators uncapitalized (because property- and method-names are also uncapitalized).

Different developers / companies prefer different styles. If you'd be willing to export every decorator in both its capitalized form and its uncapitalized form then the developer using your library can import whichever fits his style the best.

HerringtonDarkholme commented 7 years ago

Adding your own alias is trivial.