Commit Graph

7 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng 438a74aad8
fix(types): fix functional component for `h` (#9991)
- stricter children/slots type
- fix emits/`EE` type argument of `FunctionalComponent`
2024-01-09 16:45:05 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
丶远方 a625376ac8
feat(types): improve event type inference when using `h` with native elements (#9756) 2023-12-11 22:10:01 +08:00
Carlos Rodrigues 16ecb44c89
fix(types): improve `h` overload to support union of string and component (#5432)
fix #5431
2023-10-23 23:40:06 +08:00
Evan You d77557c403
feat(types): `defineComponent()` with generics support (#7963)
BREAKING CHANGE: The type of `defineComponent()` when passing in a function has changed. This overload signature is rarely used in practice and the breakage will be minimal, so repurposing it to something more useful should be worth it.

close #3102
2023-03-27 18:28:43 +08:00
Evan You 1e0251a377 test: more strict linking in dts tests 2023-02-03 21:41:33 +08:00
Evan You 1ddde63b40 build: adjust dts test setup 2023-02-03 17:10:31 +08:00