HerringtonDarkholme / av-ts

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

Improve Mixin use case . #61

Closed JsonSong89 closed 7 years ago

JsonSong89 commented 7 years ago

We can use Intersection Types to declaration the mixed type.

HerringtonDarkholme commented 7 years ago

Thanks! But I decided to improve Mixin so users do not need to provide one more type parameter.

Stay tuned.

JsonSong89 commented 7 years ago

ah , this should be expected ! but how could you omit the mixed?

HerringtonDarkholme commented 7 years ago

You can see the new doc. https://github.com/HerringtonDarkholme/av-ts#mixin

JsonSong89 commented 7 years ago

@HerringtonDarkholme
Hi,I try to copy and transplant your mixin design to vue-class-component。 Do you mind I create a PR to vue-class-component ? I will point to this project in readme.

顺便问下,你是华人吗?我很喜欢你的一些项目,交个朋友啊。