Evan You
321d80758c
fix(types): allow using InjectionKey as valid property key
...
close #5089
2024-08-02 11:11:03 +08:00
Evan You
f35080daf5
chore: Merge branch 'main' into minor
2024-07-31 16:49:22 +08:00
Tycho
e0b2975ef6
fix(types/ref): allow getter and setter types to be unrelated ( #11442 )
2024-07-29 10:52:38 +08:00
Evan You
3ba70e49b5
feat: useTemplateRef()
2024-07-17 18:20:23 +08:00
Evan You
f15ba2c2e2
chore: Merge branch 'main' into minor
2024-07-17 17:32:31 +08:00
Tycho
a509e30f05
fix(reactivity): ensure `unref` correctly resolves type for `ShallowRef` ( #11360 )
...
close #11356
2024-07-17 10:09:57 +08:00
Evan You
26356264d2
chore: Merge branch 'main' into minor
2024-06-14 12:32:28 +02:00
dopamine
612bbf0507
fix(types): improve `app.provide` type checking ( #10603 )
...
close #10602
2024-06-10 16:09:46 +08:00
Tycho
aae2d78875
fix(types/apiWatch): correct type inference for reactive array ( #11036 )
...
close #9416
2024-06-10 16:07:25 +08:00
Evan You
96e4738334
fix(types): respect props with default on instance type when using __typeProps
2024-06-05 14:19:31 +08:00
Evan You
1d8727ec97
chore: Merge branch 'main' into minor
2024-05-30 11:21:12 +08:00
远方os
521988d7e1
types(runtime-core): add `OnCleanup` parameter type in `this.$watch` ( #9371 )
2024-05-28 00:25:07 +08:00
btea
481b1b6f38
refactor(types): use explicit modifiers type ( #10856 )
2024-05-07 06:23:04 +08:00
Evan You
908f70adc0
fix(types): fix app.component() typing with inline defineComponent
...
close #10843
2024-05-03 16:29:23 -07:00
Cédric Exbrayat
9b82005bf3
test: defineOptions dts tests ( #10849 )
2024-05-04 04:27:23 +08:00
Evan You
c146186396
fix(types): fix compat with generated types that rely on CreateComponentPublicInstance
...
close #10842
2024-04-30 10:09:06 -07:00
Evan You
75c8cf63a1
feat(types): provide internal options for directly using user types in language tools ( #10801 )
2024-04-27 11:48:37 +08:00
Carlos Rodrigues
4cc9ca870c
types(defineComponent): support for GlobalComponents, typed Directives and respect `expose` on defineComponent ( #3399 )
...
close #3367
2024-04-25 16:04:03 +08:00
Thimo Sietsma
37ba93c213
fix(types): avoid merging object union types when using withDefaults ( #10596 )
...
close #10594
2024-04-15 22:50:34 +08:00
孟世博
3199189901
chore: standardize the spelling of TypeScript ( #10186 ) [ci skip]
2024-02-20 21:43:45 +08:00
Evan You
8fda856a82
refactor: split out useModel implementation and tests
2024-01-11 18:04:47 +08:00
三咲智子 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
白雾三语
c379bc29ef
fix(types): allow `null` type for textarea value ( #9997 )
...
close #9904
2024-01-08 22:58:27 +08:00
丶远方
4af85835f7
fix(types): fix defineModel watch type error ( #9942 )
...
close #9939
2023-12-30 08:22:56 +08:00
Evan You
a772031ea8
feat(defineModel): support modifiers and transformers
2023-12-26 22:13:04 +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
Evan You
cda74beceb
chore: Merge branch 'main' into minor
2023-12-26 15:45:49 +08:00
yangxiuxiu
0695c69e0d
fix(types): fix distribution of union types when unwrapping setup bindings ( #9909 )
...
close #9903
2023-12-26 11:57:50 +08:00
Evan You
95f6fffea2
chore: Merge branch 'main' into minor
2023-12-19 18:16:16 +08:00
Eduardo San Martin Morote
24b1c1dd57
fix(types): extract properties from extended collections ( #9854 )
...
close #9852
2023-12-19 17:05:29 +08:00
Evan You
9f64d2b681
chore: Merge branch 'main' into minor
2023-12-16 14:37:21 +08:00
Evan You
d0b849ac39
test(types): add test for ref/shallowRef generic casting
2023-12-16 13:46:11 +08:00
丶远方
9a571582b5
fix(types): fix `shallowRef` type error ( #9839 )
2023-12-16 13:45:01 +08:00
Evan You
f74785bc4a
feat(defineModel): support local mutation by default, remove local option
...
ref https://github.com/vuejs/rfcs/discussions/503#discussioncomment-7566278
2023-12-12 16:47:34 +08:00
丶远方
a625376ac8
feat(types): improve event type inference when using `h` with native elements ( #9756 )
2023-12-11 22:10:01 +08:00
Carles Mitjans
a41409ed02
feat(types): support passing generics when registering global directives ( #9660 )
2023-12-11 22:07:24 +08:00
Evan You
982a145d38
chore: Merge branch 'main' into minor
2023-12-11 22:03:28 +08:00
Carlos Rodrigues
213eba479c
fix(types): support for generic keyof slots ( #8374 )
2023-12-08 22:54:57 +08:00
三咲智子 Kevin Deng
927ab17cfc
feat(types): add emits and slots type to `FunctionalComponent` ( #8644 )
2023-12-08 22:24:58 +08:00
Carlos Rodrigues
bfb856565d
feat(types): provide ComponentInstance type ( #5408 )
2023-12-08 22:24:38 +08:00
丶远方
0d61b429ec
fix(types): add `xmlns:xlink` to `SVGAttributes` ( #9300 )
...
close #9299
2023-12-08 22:16:25 +08:00
丶远方
cdac12161e
fix(types): ref() return type should not be any when initial value is any ( #9768 )
2023-12-07 16:28:16 +08:00
Evan You
e12b10ac3e
chore: Merge branch 'main' into minor
2023-12-04 23:17:41 +08:00
Carlos Rodrigues
43c3cfdec5
fix(types): improve return type withKeys and withModifiers ( #9734 )
2023-12-04 07:59:01 +08:00
Blake Newman
887e54c347
fix(types): expose emits as props in functional components ( #9234 )
2023-12-01 02:37:51 +08:00
三咲智子 Kevin Deng
ad27473701
fix(types): fix reactive collection types ( #8960 )
...
close #8904
2023-12-01 02:33:09 +08:00
Evan You
0721daf22d
chore: Merge branch 'main' into minor
2023-11-27 15:59:07 +08:00
Carlos Rodrigues
1c525f75a3
types: support app.component to be `defineComponent` ( #9662 )
2023-11-22 22:18:02 +08:00
三咲智子 Kevin Deng
79b8a0905b
feat!: remove reactivity transform ( #9321 )
...
BREAKING CHANGE: Reactivity Transform was marked deprecated in 3.3 and is now removed in 3.4. This change does not require a major due to the feature being experimental. Users who wish to continue using the feature can do so via the external plugin at https://vue-macros.dev/features/reactivity-transform.html
2023-11-21 18:06:42 +08:00
Evan You
fc772dbf73
chore: exclude private packages from version updates
2023-11-21 09:37:37 +08:00