Rudy
|
e4de623ea7
|
fix(types): support inferring injected properties in options api (#6804)
close #3031
close #5931
|
2022-11-08 01:09:53 -05:00 |
littleboarx
|
168c857247
|
fix(sfc/types): improve the type inference using withDefaults (#6764)
fix #6552
|
2022-11-07 21:59:31 -05:00 |
webfansplz
|
41d9c47300
|
fix(types): `$watch` callback parameters type (#6136)
fix #6135
|
2022-10-26 05:43:42 -04:00 |
nandi95
|
506a42a9a5
|
types(runtime-core): added `ComponentCustomProperties` type to `globalProperties` (#5389)
|
2022-10-26 05:00:47 -04:00 |
HeYunfei
|
e816812f10
|
fix(types): should unwrap tuple correctly (#3820)
fix #3819
|
2022-10-26 04:27:42 -04:00 |
Carlos Rodrigues
|
8e792d93a8
|
types(h): Support passing `props` to `Component` when using `h` (#3219)
|
2022-10-26 03:07:44 -04:00 |
Thorsten Lünborg
|
e5fc7dcc02
|
fix(types): ensure createBlock() helper accepts Teleport and Supsense types (fix: #2855) (#5458)
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
|
2022-10-20 21:45:51 +02:00 |
edison
|
824174915f
|
types: creating Teleport with h and RawSlots #2613 (#2614)
|
2022-10-03 16:40:37 +08:00 |
Carlos Rodrigues
|
8dcb6c7bbd
|
fix(types): fix on* props incorrect type for TS 4.7 (#6216)
fix #6052
|
2022-07-06 04:28:25 -04:00 |
Alex Kozack
|
b5462822d6
|
fix(sfc/types): allow use default factory for primitive types in `withDefaults` (#5939)
fix #5938
|
2022-05-22 20:28:39 -04:00 |
Evan You
|
ae1fd539b7
|
chore: fix dts test
|
2022-05-21 01:10:28 +08:00 |
Carlos Rodrigues
|
0c7fd13ea6
|
fix(types): fix typescript error when spreading `$props`(#5968)
|
2022-05-20 12:59:29 -04:00 |
Evan You
|
8071ef47b5
|
fix(types): restore DefineComponent argument order
This is necessary for compatibility w/ tsc-generated component types
using DefineComponent.
revert #5416
reopen #3796
fix #5967
|
2022-05-21 00:55:51 +08:00 |
Carlos Rodrigues
|
7c8f4578e9
|
fix(types): fix `defineComponent` inference to `Component` (#5949)
|
2022-05-18 19:34:35 -04:00 |
那里好脏不可以
|
6042ab0f2f
|
chore: type [ci skip]
|
2022-05-09 22:51:51 -04:00 |
Zclhlmgqzc
|
98b821d94a
|
fix(types): preserve and expose original options on defineComponent return type (#5416)
fix #3796
|
2022-05-06 05:44:05 -04:00 |
Carlos Rodrigues
|
32e53bfd47
|
fix(types): keep the original type when unwrapping `markRaw` (#3791)
|
2022-05-06 05:07:49 -04:00 |
HcySunYang
|
c64907d261
|
fix(types): calling readonly() with ref() should return Readonly<Ref<T>> (#5212)
|
2022-01-21 02:33:30 -05:00 |
Evan You
|
4d07ed809c
|
test: remove module augmentation test which does not work in the setup
|
2022-01-16 17:13:52 +08:00 |
Evan You
|
78df8c78c4
|
fix(types/tsx): allow ref_for type on tsx elements
|
2022-01-16 15:54:58 +08:00 |
Evan You
|
5ac703055f
|
fix(types): handle ToRef<any>
fix #5188
|
2022-01-16 15:47:00 +08:00 |
Evan You
|
77283f4c94
|
test(types): test ComponentCustomProps
|
2022-01-14 14:13:03 +08:00 |
Evan You
|
92f11d6740
|
fix(types): fix shallowReadonly type
|
2022-01-10 15:05:09 +08:00 |
Evan You
|
d70fd8d36b
|
feat(reactivity-transform): rename @vue/ref-transform to @vue/reactivity-transform
|
2021-12-12 00:04:38 +08:00 |
Evan You
|
f4dcbbc7b9
|
chore: fix build
|
2021-12-11 23:48:32 +08:00 |
Evan You
|
2db9c909c2
|
feat(reactivity): support default value in toRef()
|
2021-12-11 16:41:58 +08:00 |
fishDog
|
3c449cd408
|
fix(types): fix propType<any> type inference (#4985)
fix #4983
|
2021-11-25 04:52:13 -05:00 |
JensDll
|
c6cd6a7938
|
fix (types): do not unwrap refs in `toRefs` (#4966)
|
2021-11-25 04:39:09 -05:00 |
Cathrine Vaage
|
04e5835196
|
fix(types/sfc): fix withDefaults type inference when using union types (#4925)
|
2021-11-14 22:09:00 -05:00 |
Evan You
|
20a361541c
|
fix(types): fix ref unwrapping type inference for nested shallowReactive & shallowRef
fix #4771
|
2021-10-09 17:51:15 -04:00 |
Evan You
|
61c5fbd3e3
|
workflow: move to pnpm (#4766)
|
2021-10-08 14:23:30 -04:00 |
Che Guevara
|
925bc346fe
|
fix(types): make `toRef` return correct type(fix #4732) (#4734)
* fix(types): make `toRef` return correct type(fix #4732)
* chore: use correct test
Co-authored-by: Evan You <yyx990803@gmail.com>
|
2021-10-08 11:57:49 -04:00 |
cheng
|
3f5f98dcf5
|
chore(compiler-core): fix typo in defineComponent.test-d (#4688)
|
2021-09-27 11:12:13 +02:00 |
Amour1688
|
140f089917
|
fix(types): incorrect type inference of array (#4578)
|
2021-09-21 12:41:10 -04:00 |
fishDog
|
4178d5d7d9
|
fix(type): fix prop type infer (#4530)
fix #4525
|
2021-09-06 15:24:15 -04:00 |
Husam Ibrahim
|
4645a42b79
|
types(runtime-core): fix for multiple possible prop types including Date (#4518)
fix #4517
|
2021-09-05 18:16:44 -04:00 |
Evan You
|
815bfcffae
|
fix(types): fix ref macro types
fix #4499
|
2021-09-04 16:42:46 -04:00 |
Evan You
|
b40845153c
|
feat(experimental): expose ref macro types using separate d.ts file
|
2021-08-23 20:35:12 -04:00 |
Carlos Rodrigues
|
afd49b3e88
|
types(PropType): Allow `undefined` function to be used on `PropType` (#4405)
|
2021-08-23 19:04:03 -04:00 |
Evan You
|
4adc5042f9
|
types: improve ref sugar $computed typing
|
2021-08-20 00:07:16 -04:00 |
webfansplz
|
1ce34e25d5
|
fix(types): fix tsx emit-mapped handler return type (#4290)
fix #4288
|
2021-08-11 10:52:36 -04:00 |
Evan You
|
00b76d3dc1
|
feat(sfc): support $shallowRef ref sugar
|
2021-08-11 10:19:58 -04:00 |
Jeff Yang
|
79e732656d
|
chore: rename regSugar.test-d.ts to refSugar.test-d.ts (#4258)
|
2021-08-06 12:58:14 -04:00 |
Evan You
|
bf2589b1f0
|
refactor(compiler-sfc): use shallowRef for ref sugar destructure
|
2021-08-04 15:39:32 -04:00 |
Amour1688
|
d3d5ad204d
|
fix(types): remove explicit return type annotation requirement for `this` inference in computed options (#4221)
|
2021-08-02 09:18:35 -04:00 |
Pick
|
b79e4ca717
|
types(reactivity): Simplify the SymbolExtract (#4162)
|
2021-07-28 11:12:46 -04:00 |
Evan You
|
2581cfb707
|
fix(types): fix types for readonly ref
fix #4180
|
2021-07-23 15:24:58 -04:00 |
Amour1688
|
69344ff1ae
|
feat(types): map declared emits to onXXX props in inferred prop types (#3926)
|
2021-07-19 18:22:19 -04:00 |
Evan You
|
327c8983fb
|
types: typing for ref macros
|
2021-07-16 17:35:04 -04:00 |
Evan You
|
1bab53e717
|
chore: remove deprecated defineEmit & useContext APIs
|
2021-07-16 16:56:51 -04:00 |