Commit Graph

3 Commits

Author SHA1 Message Date
Evan You
ce6fc149e3 types: fix manual api types for useAttrs/useListeners 2022-07-22 10:05:35 +08:00
Evan You
adf3ac8adc feat(setup): support listeners on setup context + useListeners() helper
These are added because Vue 2 does not include listeners in
`context.attrs` so there is no way to access the equivalent of
`this.$listeners` in `setup()`.
2022-07-20 12:13:04 +08:00
Evan You
206f8a7f09 wip: defineComponent 2022-06-01 21:55:33 +08:00