DSha
|
731e4d0ebc
|
types: use normalized type for `RenderContext.scopedSlots` (#9624)
fix #9616
|
6 years ago |
Kael
|
241eea19a6
|
fix(types): allow scoped slots to return a single VNode (#9563)
|
6 years ago |
Gcaufy
|
f33301619d
|
fix(types): update this for nextTick api (#9541)
|
6 years ago |
Evan You
|
42fdf3f837
|
refactor: ssrPrefetch -> serverPrefetch for more consistent naming
|
6 years ago |
Evan You
|
0cf6aaddb5
|
types: type sync for 2.6 features
|
6 years ago |
Evan You
|
fe2b27ffb9
|
types: typing for Vue.observable
|
6 years ago |
Evan You
|
3504d7f6d6
|
refactor: better solution for async edge case.
Revert event delegation related changes.
|
6 years ago |
Evan You
|
3be1c5d67e
|
feat(config): expose config.useEventDelegation and default to false
|
6 years ago |
Eduardo San Martin Morote
|
fb6aa06090
|
feat(functional): add scopedSlots to context in functional components (#7941)
|
6 years ago |
Guillaume Chau
|
d7a533d6f8
|
feat(ssr): ssrPrefetch option + context.rendered hook (#9017)
|
6 years ago |
Ferdy Budhidharma
|
57910723c6
|
feat(types): add Prop to main type declaration file (#6856)
close #6850
|
6 years ago |
Kael
|
d780dd2e2a
|
fix(types): accept primatives and falsy values in createElement children (#9154)
fixes #8498
|
6 years ago |
Herrington Darkholme
|
e06d2af276
|
fix(types): avoid `this` in VueConstructor signature (#9173)
https://github.com/vuejs/vue-class-component/issues/294#issuecomment-445526936
|
6 years ago |
Kael
|
448ba65d2b
|
fix(types): correct scopedSlot types (#9131)
see #8946
|
6 years ago |
thenickname
|
76443803e8
|
Typings: Improve $slots and $scopedSlots type to prevent unchecked access to undefined (#8946)
* fix(types): Declare $scopedSlots as potentially undefined to enable stricter TS checks
* fix(types): Fix tests
* fix(types): declare $slots option as potentially undefined
declare $slots option as potentially undefined to enable stricter TS checks
|
6 years ago |
Kaoru Hagihara
|
3cd4af4af0
|
fix(types): support typing $el as SVGElement (#8809)
|
6 years ago |
nel215
|
0ba79e2588
|
fix(types): accept `number` type as key on Vue.set/delete (#8707) (#8709)
|
6 years ago |
st-sloth
|
ac217d2472
|
fix(types): fix `renderError`arguments type (#8636)
fix #8635
|
6 years ago |
狼族小狈
|
c711ec189a
|
fix(types): support chain call for Vue.use and Vue.mixin (#8595)
|
6 years ago |
Kael
|
bfd722bb5d
|
types: add refInFor to VNodeData (#8229)
|
6 years ago |
Eduardo San Martin Morote
|
496635e7c9
|
types: add model option to functional components (#8212)
Closes #8210
|
6 years ago |
Zev Goldstein
|
bf2e2ed159
|
types: allow functional components to return multiple VNodes (#8192)
close #8191
|
6 years ago |
Kael
|
99a51b452f
|
fix(types): make VNodeDirective properties optional, fix #8013 (#8003)
|
6 years ago |
katashin
|
a9eb198413
|
fix(types): relax the return type of props default option (#8537)
|
6 years ago |
Edd Yerburgh
|
c94482743c
|
feat: add async option (#8240)
This is an option intended only for testing purposes, and should not be used in
application code.
|
6 years ago |
katashin
|
6b8516b2dd
|
fix(types): fix wrong errorCaptured type (#7712)
|
7 years ago |
katashin
|
b2092dbff9
|
fix(types): make render option in functional components to optional (#7663)
|
7 years ago |
katashin
|
db1b18ceec
|
fix(types): add missing `listeners` type on RenderContext (#7584)
|
7 years ago |
Pig Fang
|
2d168f1ba1
|
test(types): update TS version and fix types test (#7597)
|
7 years ago |
Herrington Darkholme
|
6ee684983b
|
fix(types): contravariant generic default in ComponentOption (#7369)
|
7 years ago |
katashin
|
49aae6bb15
|
fix(types): make VNodeChildrenArrayContents type more accurate (#7287)
|
7 years ago |
Herrington Darkholme
|
a71e653108
|
fix(types): bump ts version and fix typing bugs (#7135)
|
7 years ago |
Evan You
|
14e99086c0
|
fix(types): add missing ssr renderToString signature
|
7 years ago |
Evan You
|
fcc122931b
|
fix(types): improve and test bundleRenderer.renderToString Promise types
|
7 years ago |
Herrington Darkholme
|
048e940779
|
build: map vue to local types, simplify build setup (#6860)
* build: map vue to local types, simplify build setup
* build: remove unnecessary install steps
|
7 years ago |
Evan You
|
1be48d0a13
|
types: update types for config.ignoredElements
|
7 years ago |
Evan You
|
96472be6f6
|
types: add types for new features and adjust tests
|
7 years ago |
Herrington Darkholme
|
db138e2254
|
feat(types): further improve Vue type declarations for canonical usage (#6391)
|
7 years ago |
katashin
|
1baa0a7884
|
fix(types): add `inject` option in functional component options type (#6530)
|
7 years ago |
Herrington Darkholme
|
38d52182bf
|
fix(types): allow variadic plugin use (#6363)
fix #6357
|
7 years ago |
JounQin
|
0b2929a3d6
|
types: add EsModuleComponent definition (#6477)
|
7 years ago |
Evan You
|
1b7ddd7a35
|
feat(types): expose $vnode
|
7 years ago |
Luke Bennett
|
9831b403cf
|
Add warnHandler to allow users to set a custom warn callback, similar to errorHandler (#5883)
|
8 years ago |
Evan You
|
deae1ff851
|
fix type tests
|
8 years ago |
Melvin Lee
|
92d61922e9
|
Add TypeScript definition for ssrContext (#5654)
|
8 years ago |
Async0x42
|
1288386722
|
Support Vue.delete(arr, index) in TypeScript definitions (#5508)
* add a variation of 'delete' to typesript typings, added in 2.2+
* add typescript typings test for Vue.delete(arr, index)
|
8 years ago |
Alexander Sheboltaev
|
ebe27295df
|
typings: type-checking WatchHandler -- refining
|
8 years ago |
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
|
8 years ago |
(´・ω・`)
|
4dccbbc997
|
Add missing lifecycle definition (#4251)
* add missing lifecycle definition
* add activated lifecycle tests
|
8 years ago |
Kaorun343
|
887ec90d14
|
fix RenderContext (#4099)
|
8 years ago |