Commit Graph

17 Commits

Author SHA1 Message Date
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