Commit Graph

25 Commits

Author SHA1 Message Date
xonx
24fcf69624
fix(types): type VNodeChildren should allow type number (#13067)
close #12973
2023-12-07 13:59:43 +08:00
k-furusho
f7db7f361b
fix(types): fix spreading VNodeData in tsx (#12789)
fix #12778
2022-11-09 04:34:55 -05: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
fb93c1be77
feat(types): define component improvements (#12612) 2022-07-04 22:12:21 -04:00
Kael
d45bbeac27 feat: allow passing directive definition directly to h() (#12590) 2022-07-04 18:40:12 +08:00
Evan You
93214586aa types: types for setup() + format types 2022-05-27 17:26:55 +08:00
Zen
5c459f0fd6
fix(types): allow symbol & boolean for vnode key (#11914) 2021-04-07 11:37:53 +02:00
Kawokas
7c75462354
fix(types): changed expression type to optional string (#11189)
fix #10871
2021-03-30 11:37:56 +02: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
Kael
241eea19a6 fix(types): allow scoped slots to return a single VNode (#9563) 2019-02-28 17:03:28 -05:00
Evan You
dbc0582587 feat: dynamic directive arguments for v-on, v-bind and custom directives (#9373) 2019-01-25 23:22:44 -05:00
Evan You
0cf6aaddb5 types: type sync for 2.6 features 2019-01-15 12:38:58 -05:00
Kael
d780dd2e2a fix(types): accept primatives and falsy values in createElement children (#9154)
fixes #8498
2018-12-10 18:36:41 -05:00
Kael
448ba65d2b fix(types): correct scopedSlot types (#9131)
see #8946
2018-12-03 20:31:39 -05:00
Kael
bfd722bb5d types: add refInFor to VNodeData (#8229) 2018-10-24 13:05:15 -04:00
Kael
99a51b452f fix(types): make VNodeDirective properties optional, fix #8013 (#8003) 2018-10-22 16:09:23 -04:00
katashin
49aae6bb15 fix(types): make VNodeChildrenArrayContents type more accurate (#7287) 2017-12-20 09:09:23 -05:00
Zen
d2e1d49c41 fix(types): use object and string instead of Object and String (#7126) 2017-11-27 09:30:58 -05:00
Evan You
ced2dfc8f7 expose vnode.child for backwards compat, update .flowconfig & ts types 2017-01-12 18:04:36 -05:00
katashin
fba78d4598 Update types for new features of v2.1 (#4305)
* add types for scoped slots

* update nextTick types for returning promise

* improve scoped slot type
2016-11-25 12:08:42 -05:00
katashin
9e6255e457 fix the type of VNodeComponentOptions.Ctor (#4257) 2016-11-20 11:59:10 -05:00
Evan You
b69b4a4eef tweak style merge for performance 2016-11-07 16:20:10 -05:00
chengchao
e960cd104e enable style merge behavior between parent-child components (fix #3997) (#4138)
* merge style between components

* update test case

* update style compiler

* add paren to style binding code

* update background property parsing

* introduce interpolation warning and refactor var to const
2016-11-07 16:19:48 -05:00
Kaorun343
d2337dfc3f remove ".d" from paths (#3607) 2016-09-06 21:28:17 +08:00
kaorun343
dfc64e8a11 Add TypeScript definitions
Add TypeScript definition

Remove unnecessary definition

Update definitions

* separate files
* remove unnecessary `{[key: string]: any}`
* from singular to plural

Update definitions

* Add more definitions
* Rename filename and interface
* Sort definitions
* Fix indent

Fix

Add test

* add test
* fix some definitions
* fix typo

Fix ComputedOptions

Update Vue.set

Update definitions

Add npm script
2016-08-31 12:21:26 -04:00