Skip to content

Commit 4313f3d

Browse files
committed
test: fix flow errors
1 parent cbc1ca5 commit 4313f3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wrappers/wrapper.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default class Wrapper implements BaseWrapper {
5555
const cssModuleIdentifiers = {}
5656
let moduleIdent
5757
Object.keys(this.vm.$style).forEach((key) => {
58+
// $FlowIgnore : Flow thinks vm is a property
5859
moduleIdent = this.vm.$style[key]
5960
// CSS Modules may be multi-class if they extend others. Extended classes should be already present in $style.
6061
moduleIdent = moduleIdent.split(' ')[0]
@@ -353,6 +354,7 @@ export default class Wrapper implements BaseWrapper {
353354
if (this.vm && this.vm.$options && this.vm.$options.propsData) {
354355
_props = this.vm.$options.propsData
355356
} else {
357+
// $FlowIgnore
356358
_props = this.vm.$props
357359
}
358360
return _props || {} // Return an empty object if no props exist

0 commit comments

Comments
 (0)