Skip to content

Commit

Permalink
fix: tell vue to ignore custom <stream> element
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 27, 2020
1 parent 55113d7 commit 9aacc5e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ declare global {
}
}

// eslint-disable-next-line
const _Vue = require('vue')
_Vue.config.ignoredElements = [...(_Vue.config.ignoredElements || []), 'stream']

export type Events =
/**
* Sent when playback is aborted; for example, if the media is playing and is restarted from the beginning, this event is sent.
Expand Down Expand Up @@ -264,6 +268,7 @@ export const VideoStream = extendVue({
},
on: this.$listeners,
ref: 'stream',
tag: 'stream',
}),
]
)
Expand Down

0 comments on commit 9aacc5e

Please sign in to comment.