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)
|
4 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)
|
5 years ago |
Evan You
|
03c681e396
refactor(types): move component props interfaces + expose `AllowedComponentProps`
|
5 years ago |
HcySunYang
|
5d8a64d53a
feat(types): deny unknown attributes on component by default (#1614)
|
6 years ago |
Felix Rilling
|
829b35e426
chore: typo fixes (#1546)
|
6 years ago |
Evan You
|
2961e149c9
fix(types): ensure correct public props interface for defineComponent instance type
|
6 years ago |
doly mood
|
d3c436ae2e
feat(types): mixins/extends support in TypeScript (#626)
|
6 years ago |
Evan You
|
68e1ce8b66
refactor(types): mark more internal APIs
|
6 years ago |
HiiTea
|
22717772dd
chore: fix typos (#1090)
|
6 years ago |
Carlos Rodrigues
|
f3a9b516bd
fix(types): make return type of `defineComponent` assignable to `Component` type (#1032)
|
6 years ago |
Evan You
|
24e9efcc21
refactor(runtime-core): extract component emit related logic into dedicated file
|
6 years ago |
Evan You
|
bf473a64ea
feat(runtime-core): type and attr fallthrough support for emits option
|
6 years ago |
Chris Fritz
|
1c4cdd841d
refactor(createComponent): rename to defineComponent (#549)
|
6 years ago |