Skip to content

Commit

Permalink
Merge pull request #296 from Thomaash/master
Browse files Browse the repository at this point in the history
fix: declare all emits in all components
  • Loading branch information
serebrov authored Apr 18, 2024
2 parents 507ebc5 + 04593c3 commit 58ca29c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export default {
required: true,
},
},
emits: ['select', 'skin-change'],
data() {
return {
activeSkin: this.skin || store.get('skin') || this.defaultSkin,
Expand Down
1 change: 1 addition & 0 deletions src/components/anchors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default {
},
},
},
emits: ['click'],
created() {
this.svgs = svgs
},
Expand Down
1 change: 1 addition & 0 deletions src/components/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export default {
required: false,
},
},
emits: ['search', 'enter', 'arrowUp', 'arrowDown', 'arrowRight', 'arrowLeft'],
data() {
return {
value: '',
Expand Down
1 change: 1 addition & 0 deletions src/components/skins.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default {
required: true
}
},
emits: ['change'],
data() {
return {
opened: false
Expand Down

0 comments on commit 58ca29c

Please sign in to comment.