Commit Graph

9 Commits

Author SHA1 Message Date
Rudy 0e1e8f919e
fix(types): fix instance type when props type is incompatible with setup returned type (#7338)
close #5885
2023-11-09 17:40:36 +08:00
Evan You 2a2810c716 chore: upgrade to typescript 5.1 2023-07-11 18:44:19 +08:00
Evan You bdf557f6f2 fix(types): retain type parameters order for public types 2023-04-05 22:30:50 +08:00
三咲智子 Kevin Deng 5a2f5d59cf
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982) 2023-04-03 16:49:16 +08:00
Evan You e3de9a6911 test: add test for defineComponent function syntax with object emits 2023-03-28 08:57:56 +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 58e5c51149 build: upgrade to TypeScript 5.x 2023-03-23 17:11:35 +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