diff --git a/types/test/options-test.ts b/types/test/options-test.ts index 6fc9e356451..8324d088c92 100644 --- a/types/test/options-test.ts +++ b/types/test/options-test.ts @@ -160,7 +160,8 @@ Vue.component('component', { fontSize: '14px' }, key: 'myKey', - ref: 'myRef' + ref: 'myRef', + refInFor: true }, [ createElement(), createElement("div", "message"), diff --git a/types/vnode.d.ts b/types/vnode.d.ts index 5754c433dcd..f37a2e57cac 100644 --- a/types/vnode.d.ts +++ b/types/vnode.d.ts @@ -36,6 +36,7 @@ export interface VNodeData { slot?: string; scopedSlots?: { [key: string]: ScopedSlot }; ref?: string; + refInFor?: boolean; tag?: string; staticClass?: string; class?: any;