Simon Lévesque
|
a174c29dab
|
fix(types): fix shallowRef's return type (#12979)
close #12978
|
2023-12-06 23:51:56 +08:00 |
|
webfansplz
|
099401e227
|
fix(types/sfc): improve the type inference using withDefaults (#12872)
|
2023-10-23 15:06:28 +08:00 |
|
rj1
|
a9ca2d8519
|
chore: typos (#12949)
|
2023-02-04 19:16:38 +01:00 |
|
Evan You
|
5aed733ab6
|
test: add test case for #12778
|
2022-11-09 17:35:45 +08:00 |
|
k-furusho
|
f7db7f361b
|
fix(types): fix spreading VNodeData in tsx (#12789)
fix #12778
|
2022-11-09 04:34:55 -05:00 |
|
fukang wang
|
bc5b92adde
|
fix(types): fix error with options watch (#12779)
fix #12780
|
2022-10-11 02:43:33 -04:00 |
|
Shiluo34
|
87f69aa26f
|
fix(types): support Ref and function types in tsx ref attribute (#12759)
fix #12758
|
2022-10-11 01:36:50 -04:00 |
|
Evan You
|
8521f9d3f6
|
fix(types): fix missing error for accessing undefined instance properties
fix #12718
|
2022-08-19 12:22:51 +08:00 |
|
gu
|
89a6b5e865
|
feat(types): support mixins inference for new Vue() (#12737)
close #12730
|
2022-08-18 03:56:37 -04:00 |
|
Evan You
|
b4bf4c52ad
|
fix(types): allow attaching unknown options to defined component
fix #12742
|
2022-08-18 15:32:12 +08:00 |
|
Evan You
|
9ed684785f
|
test: add test for type casting $refs to defineComponent instance type
|
2022-07-15 17:07:19 +08:00 |
|
Evan You
|
e0a9546ef3
|
fix(types): fix missing expose() type on setup context
fix #12660
|
2022-07-15 16:58:01 +08:00 |
|
Evan You
|
52a59790a5
|
fix(types): fix $children and $root instance types
fix #12655
|
2022-07-15 16:52:27 +08:00 |
|
Evan You
|
005e52d0b6
|
fix(types): support Vue interface augmentations in defineComponent
fix #12642
|
2022-07-13 10:44:57 +08:00 |
|
Evan You
|
f8de4ca9d4
|
fix(types): fix missing instance properties on defineComponent this
ref https://github.com/vuejs/vue/issues/12628#issuecomment-1177258223
|
2022-07-08 15:39:16 +08:00 |
|
Evan You
|
d3add06e6e
|
fix(types): fix this.$slots type for defineComponent
|
2022-07-08 15:17:22 +08:00 |
|
Evan You
|
1d5a411c1e
|
fix(types): fix type inference when using components option
|
2022-07-08 15:15:22 +08:00 |
|
Evan You
|
559600f13d
|
feat: support functional components in defineComponent
close #12619
|
2022-07-08 11:18:36 +08:00 |
|
Evan You
|
9d12106e21
|
feat: defineAsyncComponent
close #12608
|
2022-07-08 10:55:23 +08:00 |
|
Evan You
|
26ff4bc0ed
|
fix(types): global component registration type compat w/ defineComponent
fix #12622
|
2022-07-08 10:39:36 +08:00 |
|
Evan You
|
94ccca207c
|
fix(types): allow slot attribute
close #12617
|
2022-07-06 11:17:33 +08:00 |
|
Evan You
|
fb93c1be77
|
feat(types): define component improvements (#12612)
|
2022-07-04 22:12:21 -04:00 |
|
Evan You
|
65531f5803
|
fix(types): fix instance type inference for setup() with no return value
fix #12568
|
2022-06-22 09:44:41 +08:00 |
|
Evan You
|
7173ad4272
|
feat: types for <script setup> macros
|
2022-06-16 10:19:01 +08:00 |
|
Evan You
|
c678e3134b
|
types: include jsx typing
|
2022-06-09 14:45:11 +08:00 |
|
Evan You
|
ffaf81ba5f
|
chore: fix type tests
|
2022-06-01 22:12:02 +08:00 |
|
Evan You
|
206f8a7f09
|
wip: defineComponent
|
2022-06-01 21:55:33 +08:00 |
|
Evan You
|
5673363eda
|
feat: expose set/del as named exports
|
2022-06-01 09:46:50 +08:00 |
|
Evan You
|
2acb5474bc
|
types: generate types for v3 apis
|
2022-05-30 21:36:07 +08:00 |
|
Evan You
|
93214586aa
|
types: types for setup() + format types
|
2022-05-27 17:26:55 +08:00 |
|
David Welch
|
40dccfedd1
|
chore: fix test harness; most of the tooling + test harness is happy; coverage still needs fixing
|
2022-05-03 11:04:55 -06:00 |
|
David Welch
|
be4b617942
|
chore: cleanup on tests; babel preset for typescript help
|
2022-05-01 14:37:05 -06:00 |
|
David Welch
|
534a0aa863
|
chore: convert tests to typescript
|
2022-04-29 15:43:25 -06:00 |
|
Sebastian Krüger
|
c52427b0d2
|
fix(types): async Component types (#11906)
* Update options.d.ts
* Create async-component-test.ts
* add generics to Component ad EsModuleComponent
* remove not needed , and ;
* revert unrelated changes
* revert unrelated changes
* revert unrelated changes
* revert unrelated changes
* optimize EsModuleImports
* Update async-component-test.ts
|
2021-06-03 15:13:33 +02:00 |
|
Kawokas
|
7c75462354
|
fix(types): changed expression type to optional string (#11189)
fix #10871
|
2021-03-30 11:37:56 +02:00 |
|
Orkhan Alikhanov
|
668e1e6374
|
fix(types): allow string for watch handlers in options (#10396)
* Allow watch handler to be string as it is supported
* Move string type to WatchHandler itself
* Removed string type as it moved to WatchHandler
|
2020-09-21 16:13:21 +02:00 |
|
katashin
|
4821149b8b
|
fix(types): fix prop constructor type inference (#10779)
|
2019-10-30 10:45:29 -04:00 |
|
katashin
|
ab50e8e1da
|
fix(types): fix global namespace declaration for UMD bundle (#9912)
|
2019-04-25 11:18:07 +08:00 |
|
Evan You
|
ea113d2618
|
test: separate failing test for TS 3.4
|
2019-04-25 10:13:32 +08:00 |
|
Carlos Rodrigues
|
df4af4bd19
|
fix(types): allow using functions on the PropTypes (#9733)
close #9692
|
2019-03-19 12:54:27 +08:00 |
|
Vitor Luiz Cavalcanti
|
982d5a492f
|
fix(types): support string type for style in VNode data (#9728)
fix #9727
|
2019-03-18 15:47:43 +08:00 |
|
DSha
|
731e4d0ebc
|
types: use normalized type for RenderContext.scopedSlots (#9624)
fix #9616
|
2019-03-05 16:46:56 -05:00 |
|
Kael
|
241eea19a6
|
fix(types): allow scoped slots to return a single VNode (#9563)
|
2019-02-28 17:03:28 -05:00 |
|
Gcaufy
|
f33301619d
|
fix(types): update this for nextTick api (#9541)
|
2019-02-28 16:54:07 -05:00 |
|
Evan You
|
42fdf3f837
|
refactor: ssrPrefetch -> serverPrefetch for more consistent naming
|
2019-01-18 16:43:17 -05:00 |
|
Evan You
|
0cf6aaddb5
|
types: type sync for 2.6 features
|
2019-01-15 12:38:58 -05:00 |
|
Evan You
|
fe2b27ffb9
|
types: typing for Vue.observable
|
2019-01-10 22:44:55 -05:00 |
|
Evan You
|
3504d7f6d6
|
refactor: better solution for async edge case.
Revert event delegation related changes.
|
2019-01-10 14:21:31 -05:00 |
|
Evan You
|
3be1c5d67e
|
feat(config): expose config.useEventDelegation and default to false
|
2019-01-09 20:09:50 -05:00 |
|
Eduardo San Martin Morote
|
fb6aa06090
|
feat(functional): add scopedSlots to context in functional components (#7941)
|
2019-01-09 16:18:14 -05:00 |
|