Skip to content

Commit 823a97f

Browse files
KaelWDhefeng
authored and
hefeng
committed
types: add refInFor to VNodeData (vuejs#8229)
1 parent 45c916e commit 823a97f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: types/test/options-test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ Vue.component('component', {
176176
fontSize: '14px'
177177
},
178178
key: 'myKey',
179-
ref: 'myRef'
179+
ref: 'myRef',
180+
refInFor: true
180181
}, [
181182
createElement(),
182183
createElement("div", "message"),

Diff for: types/vnode.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export interface VNodeData {
3636
slot?: string;
3737
scopedSlots?: { [key: string]: ScopedSlot };
3838
ref?: string;
39+
refInFor?: boolean;
3940
tag?: string;
4041
staticClass?: string;
4142
class?: any;

0 commit comments

Comments
 (0)