Commit History

Author SHA1 Message Date
  Evan You 6c74fb07a7 chore: rename and export DefineSetupFnComponent 2 years ago
  Shean de Montigny-Desautels eadce5b753 fix(types): better typing for direct setup signature of defineComponent (#10357) 2 years ago
  三咲智子 Kevin Deng bfe6b459d3 style: update format & lint config (#9162) 2 years ago
  Rudy 0e1e8f919e fix(types): fix instance type when props type is incompatible with setup returned type (#7338) 2 years ago
  Anthony Fu 438027cf9e perf: mark `defineComponent` as side-effects-free (#8512) 3 years ago
  Evan You c2172f3a0e fix(build): retain defineComponent() treeshakability in Rollup 3 years ago
  Evan You b2be75bad4 fix(runtime-core): ensure defineComponent name in extraOptions takes higher priority 3 years ago
  Evan You af563bf428 fix(types): more public type argument order fix 3 years ago
  Evan You bdf557f6f2 fix(types): retain type parameters order for public types 3 years ago
  三咲智子 Kevin Deng 5a2f5d59cf feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982) 3 years ago
  Evan You d77557c403 feat(types): `defineComponent()` with generics support (#7963) 3 years ago
  Evan You 4c3203b9b7 chore: run prettier 3 years ago
  Rudy e4de623ea7 fix(types): support inferring injected properties in options api (#6804) 3 years ago
  Carlos Rodrigues 8dcb6c7bbd fix(types): fix on* props incorrect type for TS 4.7 (#6216) 4 years ago
  Evan You 8071ef47b5 fix(types): restore DefineComponent argument order 4 years ago
  Carlos Rodrigues 7c8f4578e9 fix(types): fix `defineComponent` inference to `Component` (#5949) 4 years ago
  Zclhlmgqzc 98b821d94a fix(types): preserve and expose original options on defineComponent return type (#5416) 4 years ago
  Amour1688 140f089917 fix(types): incorrect type inference of array (#4578) 4 years ago
  dependabot[bot] 305883a12f build(deps-dev): bump typescript from 4.3.5 to 4.4.2 (#4482) 4 years ago
  WoodyJang f258f5d2c2 chore: delete useless props type (#4271) 4 years ago
  Amour1688 69344ff1ae feat(types): map declared emits to onXXX props in inferred prop types (#3926) 5 years ago
  Evan You 6aa2256913 fix(types): avoid DefineComponent defaulting to any 5 years ago
  Anthony Fu 57bdaa2220 fix(types): component instance inference without props (#2145) 5 years ago
  wonderful-panda 89e9ab8a2a fix(types/tsx): optional props from Mixin/Extends are treated as required (#2048) 5 years ago
  Evan You 37e686f25e chore: remove wip code 5 years ago
  Carlos Rodrigues 4fd468aced types(runtime-core): refactor defineComponent (#1883) 5 years ago
  HcySunYang 24fcf6ae7c fix(types): properly infer return type from async setup (#2051) 5 years ago
  HcySunYang 955450f539 types(runtime-core): improve the extracted instance types (#1936) 5 years ago
  Evan You eb2ae44d94 refactor(types): widen `Component` type to include consutructor types 5 years ago
  Bjarki Hall 304830a764 feat(runtime-core): respect function name when using `defineComponent` function shorthand (#1661) 6 years ago